Уйгурский каганат
In another version of the history, it is said that Langdarma was plagued by external troubles. The Uyghur Khaganate to the north collapsed under pressure from the Kyrgyz people in 840, and many displaced people fled to Tibet.