Remnants of Tibetan rule in Central Asia were found in two military establishments, the fort at the town of Miran near the Tarim basin, and the fort of Mazar-tagh in the western part of the Taklamakan desert. Some Buddhist manuscripts have been found at these sites, but these are few in comparison to the great hoard which was discovered in a walled-up cave in the monastic complex at Dunhuang.
The Tibetan manuscripts from Dunhuang belong to the two centuries of Tibetan influence in Central Asia, the mid-seventh to early ninth centuries, and are the earliest known large group of Tibetan Buddhist manuscripts. The manuscripts cover a great range of Buddhist literature. There are versions of the vinaya (the regulations for Buddhist monks) and various sutras and tantras, as well as later commentaries on them.
In the region of Kharakhoto, in what is now Inner Mongolia, Buddhist manuscripts in Tibetan and Mongolian dating from the thirteenth century onwards, have also been discovered. In the cave complex at Dunhuang, two caves were discovered which are decorated with Vajrayana deities in the Tibetan style, which probably date from the same period.