Уйгурский каганат
The Yenisei Kyrgyz allied with China to destroy the Uyghur Khaganate in 840. The Kyrgyz people ultimately settled in the region now referred to as Kyrgyzstan.