It became the Uyghur main capital after a disastrous results of the Yenisei Kirghiz attack on the Uyghur northern capital Karabalgasun (Khanbalyk).
The shift in Uyghur capital occurred after a significant setback from the Yenisei Kirghiz attack on their northern capital, Karabalgasun (Khanbalyk).