The Temple of the Five Officials was built to honor five state officials from the Tang and Song Dynasties. They were banished to the island of Hainan by their respective rulers for daring to question a decision made by the ruler. The temple was constructed in the 19th century.