 He then launched Karakhanid invasions of Khotan cities east of Kashgar.Halfway into the 10th century, Karakhanid ruler Musa again attacked Khotan.The Karakhanid general Yusuf Qadir Khan finally conquered Khotan around 1006, thereby beginning the Turkification and Islamicization of the region.