The kingdom of Khotan lay 2,628 kilometres to the north-west of the Tangcapital at Chang'an. Strategically located in the south-west of theTaklamakan Desert, Khotan was a meeting point of different ethnic groups,languages, cultures and traditions, and was renowned as a centre ofBuddhism. With its unique combination of influences, Khotanese society wasquite different from that of Turfan to the north of the Taklamakan. Inaddition to the indigenous practices and traditions that developed inKhotan, this kingdom was always under the influence of major externalpolitical powers: Khotan was a vassal kingdom of the Hephtalites or Turkicpeoples during the sixth century, came under increasing Chinese influence inthe seventh and eighth centuries, was under Tibetan occupation from the 790sto 840s, and thereafter under the Chinese again. The secular documentaryevidence from Khotan, written in Khotanese and Chinese, from the seventh andeighth centuries reflects everyday life there, and reveals the impact ofChinese administrative changes on traditional practices.