Situated 20km (12 miles) south of town, just to the left (east) of the road to Nangqian, lies a temple associated with Princess Wencheng, who married King Songtsen Ganpo in a bid to halt Tibetan raids. Han commentators credit her with bringing all manner of spiritual and agricultural advancements to the Tibetans. On her way to Lhasa, the princess stopped with her retinue for a month in this remote gorge, and carved statues of Vairocana Buddha (one of the five transcendent or Tathagata Buddhas, said to transform delusion and ignorance) and the eight bodhisattvas into the naked rock. Some commentators suggest the delay was due to a miscarriage, and that Wencheng's child is housed within the central effigy. The hall sheltering the images was added in 710 by the next Tang princess, Jincheng. These political marriages were to no avail: The Tibetans sacked Chang'an in 763. Behind the temple is a great deal of Tibetan and Chinese script, but the passage of time makes it difficult to decipher. Prayer flags cover the hills here and a spectacular view of the recently renovated temple is gained by climbing the hill opposite, but it's a steep couple of hours.