 The Karakhanids were made up mainly of the Karluks, Chigils and Yaghma tribes.The capital of Karakhanid Khanate was Balasaghun on the Chu River and then later Samarkand and Kashgar.The Kara-Khanids converted to Islam.