于阗
While Islam had earlier been introduced into Central Asia, it was not until 982 C.E. when the Islamic Kara-Khanid Khanate of Kashgar began to invade the Kingdom of Khotan. By the time the city of Khotan fell to the Karakhanids in 1006 AD, most of the residual monks had already fled to Tibet, taking many of their sacred texts with them. Not long after the Karakhanids began their occupation, Islam became the dominant religion in Khotan, marking an end of Buddhism in the region.