Temple of the Eight Immortals, also named Ba Xian An Monastery, as its name indicates, is mainly dedicated to the legendary Eight Immortals Han Zhongli, Zhang Guolao, Han Xiangzi, Tieguai Li, Cao Guojiu, Lv Dongbin, Lan Caihe and He Xiangu. Located on Changle Fang Street in the eastern suburb, it is the biggest Taoist temple in Xian and is a famous Taoist architecture in northwest China.
Temple of the Eight Immortals is also called Ba Xian An Palace because when the Eight-Power Allied Forces invaded Beijing in 1900, Emperor Guangxu and Empress Dowager Cixi escaped to Xian and lived in Ba Xian An Monastery. Therefore, Empress Dowager Cixi donated taels of silver later to fund the renovation of the monastery and gave it the name Ba Xian An Palace.
The monastery is said to be built in the Song Dynasty (960-1279), and was repaired and expanded many times in succeeding dynasties. The structures that can be seen today were mainly built in the Qing Dynasty (1644-1911). Not counting Mountain Gate, Paifang, Screen Wall, the Bell Tower and Drum Tower, the monastery can be divided into three sections. The first section includes five halls, dedicating to the protective god of Taoism-Wang Lingguan. The second section has two halls, and the color-painted statues of the Eight Immortals are worshiped in the back hall. The third section is the Main Hall with a tablet hanging on its lintel. The four characters 'Dong Tian Yun Ji' was inscribed on the tablet by Empress Dowager Cixi. Inside the hall, sacrifices were made to Dou Mu Yuan Jun (a high ranked god in Taoism) and other gods. Its annexes contain Lvzu (Lv Dongbin) Hall and Yaowang (King of Chinese medicine) Hall on the east and accommodations for Taoists on the west.