Mahmud al-Kashgari
In 1006, the Muslim Kara-Khanid ruler Yusuf Kadir (Qadir) Khan of Kashgar conquered Khotan, ending Khotan's existence as an independent state. The war was described as a Muslim Jihad (holy war) by the Japanese Professor Takao Moriyasu. The Karakhanid Turkic Muslim writer Mahmud al-Kashgari recorded a short Turkic language poem about the conquest: