喀喇汗国
In the tenth century, the Karluks, Yagmas, Chigils and other Turkic tribes founded the Kara-Khanid Khanate in Semirechye, Western Tian Shan, and Kashgaria and later conquered Transoxiana. The Karakhanid rulers were likely to be Yaghmas who were associated with the Toquz Oghuz and some historians therefore see this as a link between the Karakhanid and the Uyghurs of the Uyghur Khaganate, although this connection is disputed by others.