After Qing dominated Taiwan, the establishment of the Navy was mainly located in Anping and Penghu. In the beginning of the period, there was not any naval installation in northern Taiwan. After the incident of the pirate Zheng Jin-xin, the navy was established in Tamsui, but the arrangement was limited.During and after the reigns of the Qianlong emperors, the northern Taiwan developed rapidly, and that caused the transition of the popularity from Tamsui to Taipei. In order to strengthen the public security, the center of the navy transferred to Bangkah. However, the Qing government did not ignore the importance of Tamsui; therefore, the naval equipment there was not decreased.In the year 1805, the pirate Jiaqing plundered Tamsui. To defend against the pirates, the Qing government reinforced the surrounding armed facilities. At the same time, for the development of the northern Taiwan, not only the defense of the navy was reinforced, that of the army was also expanded. The expansion of the army did not impede the development of the navy. In fact, the development of the army and the navy were equally emphasized at that time.