Samanid Empire
In a series of wars, the Karakhanid conquered Khotan. In 966, Sultan Satuq Bughra Khan of the Kara-Khandids converted to Islam after contacts with the Muslim Samanid Empire. He then launched Karakhanid invasions of Khotan cities east of Kashgar.