Tughlugh Timur was unable to completely subjugate the tribal rulers. After his death in 1363, the Moghuls left Transoxiana, and the Qara'unas' leader Amir Husayn took control of Transoxiana. Tīmur-e Lang (Timur the Lame), or Tamerlane, a Muslim native of Transoxiana who claimed descent from Genghis Khan, desired control of the khanate for himself and opposed Amir Husayn. He took Samarkand in 1366, and was recognized as emir in 1370, although he continued to officially act in the name of the Chagatai khans. For over three decades, Timur used the Chagatai lands as the base for extensive conquests, conquering the rulers of Herat in Afghanistan, Shiraz in Persia, Baghdad in Iraq, Delhi in India, and Damascus in Syria. After defeating the Ottoman Turks at Angora, Timur died in 1405 while marching on the Ming dynasty China. The Timurid dynasty continued under his son, Shah Rukh, who ruled from Herat until his death in 1447.