name as written by the locals changed over time; in about the third century AD, the local people wrote Khotana in Kharoṣṭhī script, and Hvatäna in the Brahmi script some time later. From this came Hvamna and Hvam in their latest texts, where Hvam kṣīra or 'the land of Khotan' was the name given. Khotan became known to the west while the –t- was still unchanged, as is frequent in early New Persian. The local people also used Gaustana (Gosthana, Gostana, Godana, Godaniya or Kustana) under the influence of Buddhist Hybrid Sanskrit, and Yūttina in the ninth century, when it was allied with the Chinese kingdom of Șacū (Shazhou or Dunhuang). Location and geography The geographical position of the oasis was the main factor in its success and wealth. To its north is one of the most arid and desolate desert climates on the earth, the Taklamakan Desert, and to its south the largely uninhabited Kunlun Mountains (Qurum). To the east there were few oases beyond Niya, making travel difficult, and access is only relatively easy from the west. Khotan was irrigated from the Yurung-kàsh and Kara-kàsh rivers, which water the Tarim Basin. These two rivers produce vast quantities of water, which made habitation possible in an otherwise arid climate. The location next to the mountain not only allowed irrigation for crops but also increased the fertility of the land, as the rivers reduced the gradient and deposited sediment on their banks, creating a more fertile soil. This more fertile soil increased the agricultural productivity that made Khotan famous for its cereal crops and fruit. Therefore, Khotan's lifeline was its proximity to the Kunlun mountain range, and without it Khotan would not have become one of the largest and most successful oasis cities along the Silk Roads. The kingdom of Khotan was one of the many small states found in the Tarim Basin, which included Yarkand, Loulan (Shanshan), Turfan, the Kashgar, Karashahr, and Kucha (the last three, together with Khotan, made up the four Garrisons during the Tang dynasty). To the west were the Central Asian kingdoms of Sogdiana and Bactria. It was surrounded by powerful neighbours, such as the Kushan Empire, China, Tibet, and for a time the Xiongnu, all of which had exerted or tried to exert their influence over Khotan at various times. History From an early period, the Tarim Basin had been inhabited by different groups