敦煌文献
It has been suggested Buddhists in Dunhuang, alarmed by the conquest of Khotan and ending of Buddhism there, sealed Cave 17 of the Mogao Caves containing the Dunhuang manuscripts so to protect them. The Karakhanid Turkic Muslim writer Mahmud al-Kashgari recorded a short Turkic language poem about the conquest: