The kingdom of Khotan lay 2,628 kilometres to the north-west of the Tang
capital at Chang'an. Strategically located in the south-west of the
Taklamakan Desert, Khotan was a meeting point of different ethnic groups,
languages, cultures and traditions, and was renowned as a centre of
Buddhism. With its unique combination of influences, Khotanese society was
quite different from that of Turfan to the north of the Taklamakan. In
addition to the indigenous practices and traditions that developed in
Khotan, this kingdom was always under the influence of major external
political powers: Khotan was a vassal kingdom of the Hephtalites or Turkic
peoples during the sixth century, came under increasing Chinese influence in
the seventh and eighth centuries, was under Tibetan occupation from the 790s
to 840s, and thereafter under the Chinese again. The secular documentary
evidence from Khotan, written in Khotanese and Chinese, from the seventh and
eighth centuries reflects everyday life there, and reveals the impact of
Chinese administrative changes on traditional practices.