In 1683, the ruler of Zheng dynasty surrendered to the Qing. In 1721, the fort was damaged when Zhu Yigui led uprising against the government. Also through the following years, the fort was destroyed by several earthquakes only a few walls remained. The chief administrator, Sheng Shou Qien, built the Penghu Academy in 1886. It is a Qing style building located at the west side of the fort. In 1879, both the Wunchang Pavilion (Temple of Literature God) and the Hai-She Temple（Temple of Sea God）were built by the emperor’s administrator, Shen Baozhen. The Wunchang Pavilion and the Hai-She Temple are located in the central part of the fort. The Wunchang Pavilion was built in honor of Wun- Chang, God of Literature. The Hai-She Temple was built in honor of God of the Sea.