The temple was established at the same time as the market, during the reign of Kangxi emperor (1661-1722).[1]
Description
The temple was built for the worship of two 'Tai Wong', literally 'great kings', Hung Shing Tai Wong (洪聖大王) and Yeung Hau Tai Wong (楊侯大王).[1][2] It is the main temple of Nam Pin Wai as well as Yuen Long Kau Hui.[3]
Other than for worship, the temple was a venue for solving disputes and discussing market affairs among the villagers.[1] It also once served as a yamen and the officials lived there.[3]