天山ウイグル王国
After their capital in Mongolia was sacked by the Yenisei Kyrgyz in 840, they established a new state, the Kingdom of Qocho with its capital at Gaochang (near Turfan) in 866.