In which dynasty was Zhangzhou Weizhen Pavilion built?

Weizhen Pavilion, commonly known as "Bagua Tower", was originally built on the southeast corner wall. The pavilions are all paved with rectangular stones of the same width and length in an octagonal shape. The stone systems at each corner are engraved with the Bagua Ji-shaped characters in square characters: such as ? Qian, ? Kun, ? Zhen, ? Xun, ? Kan, ? Li, ? Gen, ? Dui. Therefore, it is also called "Bagua Tower".

According to legend, it was first built in the Song Dynasty. When Zhu Wen Gong came to Zhangzhou, he used the Weizhen Pavilion to stand opposite the Weizhen Pavilion at the top of Zhishan Mountain. One feng shui. In the sixth year of Wanli in the Ming Dynasty (AD 1578), Luo Qingxiao, the prefect, built it again. In view of the low terrain of Xun in the southeast of the city, he removed the old buildings on the city wall and added a floor, still with Xiangbagua, eight exquisite windows, and the top floor. Going up to Silou, you can have a panoramic view of Danshan Xiangshui, and all the historical events are in your mind, which adds to the success of the county.