In 1662, Koxinga, the ruler of Zheng dynasty,expelled the Dutch, and the fort was used as his government with the new name Chen-Tien Fu. In 1664, the fort was abandoned as a place of government and was used as a place to store gunpowder.