During the times of these dynasties, Hainan was perceived as a remote part of the empire and was used as a place for banishment for disgraced court officials.
All five officials worshipped at the temple encountered such a fate, typically after losing power struggles within the imperial court.
[2][3] The temple has undergone a major restoration during the reign of the Qing emperor Guanggxu (in 1889)[2] followed by minor repairs that were carried out later.
[2] Each of the officials had been banished to Hainan Province after having fallen out of the court's favor and is now represented by a stone statue placed on the temple grounds.
The Ancestral Hall of the Two Fubo Generals is dedicated to the two generals Lu Bode (Chinese: 路博德; pinyin: Lù Bódé, captured Hainan in 110 BC) of the Western Han dynasty and Ma Yuan (Chinese: 馬援; pinyin: Mǎ Yuán, 14 BC – 49 AD) of the Eastern Han dynasty.
It commemorates Su Shi (Chinese: 苏轼), a renowned poet and statesman of the Song dynasty, who was also banished to Hainan.
He advocated attempts to recover territory lost to the Jin dynasty and committed suicide dying as a result of a hunger strike.