It was built in the late Ming and early Qing, when only a small temple was built outside the South Gate. In the forty-eight year of Kangxi, in 1709 AD, the main hall was rebuilt on the original site, which has a history of more than 300 years. Guandi Temple was built according to the topography of Zhangbi Village, which is high in the south and low in the north, and was built following the mountain. According to the common people, the reason for doing this is to use Lord Guan’s supernatural power to block the evil spirits of the Mianshan forests; the other is to make the temple gate face the fort gate, so that the famous Lord Guan always guards the whole village. , Bless the people here auspicious and peaceful.
The terrain of Zhangbi Village is roughly high in the west and low in the east, high in the south and low in the north. It is surrounded by thick rammed earth fort walls. A redstone street in the middle runs through the north and south in the form of an "S". There are seven streets in the west and three in the east. The remaining buildings in the fort are basically Ming and Qing architecture. On the whole, the buildings on the west are tall and majestic, while the buildings on the east are low and shabby, forming a clear pattern of "poor in the east and rich in the west".
In order to keep the Feng Shui from leaking out, the people of Zhang Bi built Zhenwu Temple above the North Gate Cave. Zhenwu Temple was the first building to intercept Feng Shui. The quaint Zhangbi people were still worried about the leakage of Feng Shui, so they increased the height of the fort wall here. "Lang" and "Lan" in the dialect are humorous. I believe everyone will be amazed by the unique feng shui concept of the Gubao people. In the past few years, experts have measured the height of Erlang Temple and compared it with the ground height of Nanbao Gate. It was found that the height of the village is 13 meters, and the height of Erlang Temple is 13.5 meters, which plays a role in intercepting Feng Shui.
In 2003, archaeologists discovered the Neolithic Yangshao and Longshan cultural relics in the Zhaizi area in Zhangbi, pushing the history of human activities in Zhangbi to 6,500 years ago. The related stoneware and pottery displayed in the Cultural Relics Museum of Zhangbi Ancient Fort The film proves all this to us. The castle we saw in front of us was built in the post-Zhao period of the Sixteen Kingdoms of the Northern Dynasties, more than 1,600 years ago. The existing fort wall is about 1.1 kilometers long and 5 to 7 meters high. The thickness of the rammed earth layer of the fort wall is between 9 and 17 cm. The thickness of the rammed earth around the fort is different due to repairs in the past. According to the existing record of the ancient fort during the Daoguang period, "Rebuilding the Ceremonial Guard and Repairing the Painted Stele", the fort wall was originally 4 feet high and 7 feet wide, and the top could be used by soldiers and horses to walk back and forth. According to experts, during the Longshan Culture period, about 4,600-4,000 years ago, the ancestors had begun to use rammed earth technology. The thickness of the rammed soil in the Han Dynasty was about 15 cm, from the Tang Dynasty to the Ming Dynasty about 30 cm. The thickness of the rammed earth layer of the fort wall here is about 15 cm. Based on the thickness of the rammed soil layer of the fort wall and the latest research results, it is speculated that the fort wall was built earlier than the Sui and Tang Dynasties, and it should have been during the Sixteen Kingdoms period of the Northern Dynasties when the dock wall was popular.