Primary Deity of the City: The term โๅ้โ (City God) originally referred to the city wall and its defensive ditch. A ditch with water is a โๆฑ โ (pool), while one without water is a โ้โ (ditch). Thus, โๅ้โ essentially means the wall, ditch, and pool of a city, symbolizing the guardian deity of the cityโs fortifications. In a worldview where all things possess spirit, the elevated walls and the low ditches serve defensive purposes and ensure the safety of all residents. Consequently, it is natural for people to worship the cityโs protective deity.
During the Ming dynasty, a fortified guard station for a thousand households was established in Jinmen City. With its walls and a large resident population, it was natural to construct a City God Temple for city defense and protection. The city of Jinmen was destroyed by rebels and warfare in the late Ming period, and it was rebuilt during the Qing dynasty.