The Tarim Basin is the result of an amalgamation between an ancient microcontinent and the growing Eurasian continent during the Carboniferous to Permian periods. At present, deformation around the margins of the basin is resulting in the microcontinental crust being pushed under Tian Shan to the north, and Kunlun Shan to the south.