Uyghur Khaganate
The Uyghurs, who were subjects to the Göktürks, revolted in 745 and founded the Uyghur Khaganate which replaced the Eastern Turkic Khaganate. The Uyghur kagan Bayanchur established Ordu-Baliq City on the Orkhon river in 751. The Tang Empire invited the Uyghurs to subdue the An Lushan rebellion in 755. Successful campaigns of the Uyghur Khaganate led to a peace with the Tang dynasty of China which paid compensation for the suppression of An in silk and grain for 12 years after 766.