In 140 BC, Tibetan Buddhism was introduced to western Sichuan. In 220, Qionglai gated, Maha set up a church and built a temple, and in 366 the scale of the temple began to expand.

By 581, two large quadrangle courtyards with walls on all sides, interconnected interiors, and five rooms on each side were built, with 72 rooms, including soy sauce mills, weaving workshops, dyeing workshops, Tibetan scripture cabinets, precept houses, stupas, Tibetan scripture pagodas, and grain and chai courtyards.
Shi Zai Xiangyan Temple "was founded in the Han Dynasty, flourished in the Tang Dynasty, destroyed between the Liang, Tang, Jin, and Sui Dynasties, and then flourished in the Song and Yuan Dynasties, and declined in the Ming Dynasty."
During the Tang Dynasty, Li Shimin rebuilt it for the sake of the dead, and because of the "solemnity of the incense", he changed the original name "Longevity Temple" to Xiangyan Temple" (香燕寺). During the Wu Zetian period, the Xiangyan boy privately rained heavily to relieve the drought, violating the heavens and dying here.
Wujian Temple, named Xiangyan Temple. Because Yan and Yan are homophonous, people call Xiangyan Boy Xiangyan Boy, and Xiangyan Temple is "Xiangyan Temple".
Between 1506 and 1521, the Monks' Garden and the Hall of the Heavenly King were built. It was burned in the winter of 1576 and destroyed by war in 1645.
In 1744, the monk Yan Qing changed the Main Hall of Heaven to the Hall of The Great Treasure, after which social unrest and the transfer of faith were divided, demolished, and burned, leaving only the remains. Reconstruction began in 1990...
Jiamen Pass, located in the southwest of Qionglai Mountain, because the two mountains of Pecking Mountain and Hu Dayan in the territory face each other like a gate, so it is called Jiamen Pass, referred to as Jiaguan.