China, Han dynasty sources describe Yanqi (Ārśi / Agni) as a relatively large and important neighboring kingdom. According to Book of Han, the various states of the "Western Regions", including Yanqi, were controlled by the nomadic Xiongnu, but later came under the influence of the Han dynasty, following a Han show of force against Dayuan (Fergana) in the late 2nd century BCE. From the 1st century BCE onwards, many populations in the Tarim Basin, including the Ārśi underwent conversion to Buddhism and, consequently, linguistic influence from Indo-Iranian languages, such as Pali, Sanskrit, Bactrian, Gandhari and Khotanese (Saka). The city of Ārśi became commonly known as Agni, almost certainly derived from the Sanskrit अग्नि "fire". Names such as Agnideśa (अग्निदेश) and Agni-visaya, both of which are Sanskrit for "city of fire", are also recorded in Buddhist scriptures. According to the Book of the Later Han, General Ban Chao went on a punitive campaign against Yanqi in 94 CE after they attacked and killed the Protector General Chen Mu and Vice Commandant Guo Xun in 75 CE. The king of Yanqi was decapitated and his head displayed in the capital. Later rebellions were subdued by Ban Chao's son Ban Yong in 127 CE. It has "15,000 households, 52,000 individuals, and more than 20,000 men able to bear arms. It has high mountains on all four sides. There are hazardous passes on the route to Qiuci (Kucha) that are easy to defend. The water of a lake winds between the four mountains, and surrounds the town for more than 30 li [12.5 km]." Agnideśa became a tributary state of Tang China in 632 CE. In 644, during the Tang expansion into the Tarim Basin, Emperor Taizong of Tang launched a military campaign against Yanqi after the kingdom allied itself with the Turks. The Four Garrisons of Anxi was established with one based at Yanqi. According to Book of Zhou (636 CE) the kingdom of Yanqi (Karashahr) was a small country with poor people and nine walled towns, and described the country and their custom thus: Marriage is about the same as among the Chinese. All the deceased are cremated and then buried. They wear mourning for seven full days, after which they put it off. The adult men all trim their hair to make a head decoration. Their written characters are the same as those of India. It is their custom to serve