Central Asia became the battleground of many Asian invaders who came from the north-east. Mongol rule (1218–1370) The Mongol Empire swept through Central Asia, invaded Khwarezmian Empire and sacked the cities of Bukhara and Samarkand, looting and massacring people everywhere. Timurid Empire (1370–1506) Timur, founder of the Timurid Empire, was born on 8 April 1336 in Kesh near Samarkand. He was a member of the Turkicized Barlas tribe, a Mongol subgroup that had settled in Transoxiana after taking part in Genghis Khan's son Chagatai's campaigns in that region. Timur began his life as a bandit leader. During this period, he received an arrow-wound in the leg, as a result of which he was nicknamed Timur-e Lang (in Dari) or Timur the Lame. Although the last Timurid ruler of Herat, Badi az Zaman finally fell to the armies of the Uzbek Muhammad Shaibani Khan in 1506, the Timurid ruler of Ferghana, Zahir-ud-Din Babur, survived the collapse of the dynasty and re-established the Timurid dynasty in India in 1526 where they became known as the Mughals. Early modern history (1506–1868) Turkic rule (1506–1598) The Shaybanid state was divided into appanages between all male members (sultans) of the dynasty, who would designate the supreme ruler (Khan), the oldest member of clan. The seat of Khan was first Samarkand, the capital of the Timurids, but some of the Khans preferred to remain in their former appanages. Thus, Bukhara became the seat of the khan for the first time under Ubaid Allah Khan (r. 1533–1539). The period of political expansion and economical prosperity was short-lived. Soon after the death of Abd Allah Khan the Shaibanid dynasty died out and was replaced by the Janid or Astrakhanid (Ashtarkhanid) dynasty, another branch of the descendants of Jöchi, whose founder Jani Khan was related to Abd Allah Khan Through his marriage to Abdullah Khan's Sister. The Astrakhanids are also said to be connected to the Hashemites due to Imam Quli Khan's status as a Sayyid. Their descendants today live in India. In 1709, eastern part of Khanate of Bukhara seceded and formed Khanate of Kokand. Thus, the eastern part of present Tajikistan passed to the Khanate of Kokand, while the western one remained part of the Khanate of Bukhara. Iranian and Bukharan rule (1740–1868) In 1740, the Janid khanate was conquered by Nader Shah, the Afsharid ruler of Iran. The Janid khan Abu al Faiz retained his throne,