linguistic:voice_change, linguistic:translation, linguistic:paraphrasing, structural:reformatting, stylistic:tone
Rise

In the mid-5th century, Uyghurs constituted a tribe of the Tiele, which was also under the Turkic Khaganate.

In 657, the Western Turkic Khaganate was defeated by the Tang dynasty, after which the Uyghurs defected to the Tang. Prior to this the Uyghurs had already shown an inclination towards alliances with the Tang when they fought with them against the Tibetan Empire and Turks in 627.

In 742, the Uyghurs, Karluks, and Basmyls rebelled against the Second Turkic Khaganate.

In 744, the Basmyls captured the Turk capital of Ötüken and killed the reigning Özmiş Khagan. Later that year, a Uyghur-Karluk alliance formed against the Basmyls and defeated them. Their khagan was killed, and the Basmyls ceased to exist as a people. Hostilities between the Uyghurs and Karluks then forced the Karluks to migrate west into Zhetysu and conflict with the Türgesh, whom they defeated and conquered in 766.

The Uyghur khagan's personal name was Qullığ Boyla (Chinese: 骨力裴羅). He took the title Kutlug Bilge Kol Khagan (Glorious, wise, mighty khagan), claiming to be the supreme ruler of all the tribes. He built his capital at Ordu-Baliq. According to Chinese sources, the territory of the Uyghur Empire then reached "on its eastern extremity, the territory of Shiwei, on the west the Altai Mountains, on the south it controlled the Gobi Desert, so it covered the entire territory of the ancient Xiongnu ".

In 745, the Uyghurs killed the last khagan of the Göktürks, Báiméi kèhán Gǔlǒng fú (白眉可汗 鶻隴匐), and sent his head to the Tang.