In 1389, the
Buddhist Chagataid prince Gunashiri broke away from the
Northern Yuan dynasty, which had fallen under the reign of
Jorightu Khan Yesüder, an Arig-Bokid prince. He established himself in Qamil (
Hami) by 1390 and ruled over a Uyghur population. The next year, the
Ming dynasty occupied his territory and forced him to submit, although he remained in control of his territory. In 1404, Gunashiri's successor Engke Temiir accepted the establishment of a
Ming guard and became
Hami Prefecture. However the Ming did not directly govern Hami or collect taxes. Engke Temiir was granted the title
Zhongshunwang (meaning the obedient prince) by the Ming court. During the 1430s, Kara Del submitted to the
Oirats. The Uyghurs of Hami came into regular contact with Mongols in southwestern
Inner Mongolia. Several Uyghur chiefs became major leaders of the western Mongols, leading to the spread of Uyghurjin as a clan name in the
Ordos area. In 1446, disturbances broke out in Hami. Ming forces under Ren Li occupied the city and deported 1,230 people to the east of
Jiayuguan. In 1463 the khan was overthrown by a pro-Mongol faction and a serious succession crisis ensued. From 1467, the Ming emperors repeatedly reinstalled members of Gunashiri's house but the situation in Hami never stabilized. Hami was conquered by
Mansur Khan, the ruler of
Moghulistan in 1513. Kara Del officially converted to Islam in 1513. It was reported that between Khitay and Khotan the Sarigh Uyghur tribes who were "impious" resided, and they were targeted for ghazat (holy war) by Mansur Khan following 1516. After the islamization of Kara Del,
Uyghur fell into disuse until the 20th century, except as a local term for Muslim Turks in Hami and Turpan. In 1923,
Uyghur was revived again as a general designation for
Xinjiang's
Tarim Basin oasis dwellers. ==Culture==