Towards the end of 1884 the French were able to enforce a limited blockade of the northern Formosan port of Tamsui and the southern ports of Taiwan-fu (modern Tainan) and Takow (modern Kaohsiung).
The Chinese forces around Keelung consisted for the most part of regular soldiers from Fukien and from the northern provinces around the Gulf of Petchili.