It was first built in the late 8th and early 9th century, the time of the Nanzhao Kingdom in the Tang Dynasty. After two major restorations and expansion in the Chenghua period (1465-1487) of the Ming Dynasty and the 24th year of Emperor Kangxi's rule (1686) of the Qing Dynasty, the temple took on its present design, with covered corridors, bridges and grand halls.
Yunnan Province in southwest China border, the provincial capital Kunming. Warring States period, this is the Dian tribe fowl. Yunnan, namely, "Caiyunzhinan"and the other argument is that because in the "Yunling of the South " is named. The total area of about 39 million square kilometers, accounting for 4.11% of total land area, the provincial administrative regions in the country ranked No. 8 in the area. The total population of 45,130,000 (2008), accounting for 3.36% of the population, the population ranked 13th. And Yunnan provinces adjacent to Sichuan, Guizhou, Guangxi, Tibet, Yunnan Province, three neighboring countries of Myanmar, Laos and Vietnam. Tropic of Cancer crosses from the southern province.