Taiwan Prefecture
In 1684, the Qing Dynasty annexed Taiwan and renamed the town Fongshan County (), considering it a part of Taiwan Prefecture. It was first opened as a port during the 1680s and subsequently prospered fairly for generations.