The Divine Temple is located on Zhonghe Peak in the Cangshan Mountains to the west of Dali. It was where the Tang envoy Cui Zuoshi discussed forming an alliance with the King of Nanzhao, Yi Maoxun, in 794, the 10th year of the reign of the Tang Dynasty Emperor Zhengyuan after the Battle of Tianbao. The environment here is charming and beautiful. The main hall of the temple has a magnificent system of brackets and flying eaves.