Originally called Jarakol (Headwater) Temple when it was established in the 4th century, this ruined town 24km (15 miles) northeast of Kuqa is evidence of Buddhist parishioners' penchant for spectacular sites. Kumarajiva and Xuanzang both preached here, the latter recording, "The images of the Buddha in these monasteries were beautiful almost beyond human skill: and the Brethren were punctilious in discipline and devoted enthusiasts." A large fire devastated the town in the 9th century, and it was gradually abandoned from the 11th century as the populace converted to Islam. There were still Buddhist relics (brought by Prince Asoka) housed in the main pagoda when the enigmatic Count Otani visited during the early 19th century.