In the tenth year of Yongle (14 12), Judy, the founder of Ming Dynasty, issued an imperial edict and posted a yellow list, indicating that Xuan Di Temple was built in the world. Therefore, the fuzhou government provided convenience for Zheng De to pay homage to Xuan Di upstairs in Pingshan Town in the following year (1507).
Xuan Di, also known as Emperor Xuanwu and Emperor Zhenwu, belongs to the "water" in the five elements (gold, wood, water, fire and earth), so the people also call it the "water emperor", located in the north of the city. Pingshan is just north of the central axis of Fuzhou City, echoing the Fire Emperor Temple (unfortunately destroyed) in the south of the city, with the good wishes of Fuzhou City.
Subsequently, Fuzhou guarded Cui 'an, built the "Xuan Di Palace" by the West Lake, and dedicated historical figures such as Liu Bei, Guan Yu, Zhang Fei and the Five Emperors around the Xuandi Hall. During the Wanli period of the Ming Dynasty, the Zhenjun Temple was built on the right side of the Drum Tower to worship Xuan Di. At the same time, the spectacular Xuan Di Temple was built on Wangbeitai (commonly known as Huangbaitai) in Cangshan. In addition to the well-preserved palace, there is also an ancient monument carved in the Ming Dynasty, which records its history in detail and has become a rare cultural relic with a history of more than 400 years.
During the reign of Jiaqing and Daoguang in Qing Dynasty, Wei Jie, a famous Fuzhou poet, once wrote a poem after visiting Xuan Di Temple in Wangbeitai: "Xuan Di is in Lingtou and Bailong Palace is at the bottom of the river. The mountain faces north, and the waves run east. Monks are good at playing the piano, while poets compete for supremacy. The wall is full of beautiful sentences and word cages. " Vividly describes the cultural connotation of Xuan Di Temple.
In the late Ming and early Qing Dynasties, the Xuan Di Temple upstairs in Zhenhai was divided into stoves by villagers near Meiliuqiao (now Zuohai Community) outside the north gate, and the scale was quite large. After 1950s and 1960s, it was gradually occupied by other units. After the reform and opening up, the religious policy of the Party and the government was implemented, and the villagers restored the Xuan Di Temple on the bridge pavilion, with red walls and green tiles and towering ancient banyan trees, which enshrined Xuan Di, the Duke of Zhou, the peach blossom girl and the wind master Yu Bo, reflecting the people's desire for good weather and peace in the four seasons. There are Pingxi River and Pantong River under the bridge, where they meet and lead to the West Lake. The environment is very unique. There are several couplets in the temple, one of which reads the place name: "Jinwushan is close to Beidou, and Meiliuqiao is connected with the south sky." There are also Tibetan couplets with the theme of "Xuanwu": "Xuanmen Hede Shuanghui Water, Five Ruiju Zunxiang" and so on, all of which have high literary value. There is also a stone tablet outside the mountain gate, bearing in mind the history and present situation of the palace.