Overview
Li Longji, Emperor Xuanzong, ruled the Tang for more than forty years, the longest reign of the dynasty. Petitions from the rulers of Tokharistan and other Central Asian states still addressed him as Heavenly Qaghan when they asked for help against the Arabs. His reign ended in the An Lushan Rebellion, after which the Tang never again held power in the steppe.
Rise to Power
He took power in 712 after helping to overthrow the faction of Empress Wei.
Rule and Achievements
- Made peace with Bilge Qaghan of the Second Türk Khaganate and opened a horse-for-silk trade
- Supported the Türgesh and the Sogdians against the Arabs at times, and received petitions as Heavenly Qaghan from Central Asian rulers
- Saw his army defeated by the Abbasids at Talas in 751
- Fled Chang'an when An Lushan rebelled in 755, and abdicated in 756
Legacy
Xuanzong died in 762. The Uyghurs helped his son Suzong recover the capitals, and from then on the Tang dealt with the steppe as a weaker partner rather than as its Heavenly Qaghan.