Kutlug I Bilge Qaghan (d. 747), full name Yaoluoge Kutlug, founder of the Uyghur Khaganate. The Uyghurs (Huihe) sprang from the Yaoluoge clan of the Tiele tribes, dwelling along the Khangai mountains and the Orkhon, in turn under Xueyantuo and Turkic rule. In the Tianbao years the Turkic khaganate fell into civil war; Uyghur, Basmyl and Karluks allied against it and set a Basmyl chief on the throne; in 744 Kutlug and the Karluks killed the Basmyl khagan and proclaimed himself Kutlug I Bilge Qaghan, his ordo on the Orkhon — the next year Emperor Xuanzong of Tang invested him Qaghan Huairen, and the Uyghurs replaced the Turks as masters of the steppe. He died in 747, succeeded by his son Moyanchor (Qaghan Gele). The khaganate kept long intimacy with the Tang: in the An Lushan Rebellion two khagans sent troops to help recover the two capitals; the silk-for-horse trade bound their economies; the Uyghurs turned from shamanism to Manichaeism. The khaganate fell to the Kyrgyz in 840, the tribes migrating west to Ganzhou, Xizhou and beyond the Pamirs — recasting the ethnic map of the Hexi corridor and the Western Regions for centuries.