On 3 June the Japanese captured the port city of Keelung. Following a preliminary bombardment of the city's coastal defences by the warships "Matsushima", "Oshima", , "Takachiho" and "Chiyoda", the Imperial Guards attacked the Keelung forts from the rear. The main struggle took place around the Shih-ch'iu-ling battery (). Eleven years earlier, during the Sino-French War, Chinese forces had bottled up a French expeditionary corps in Keelung for seven months during the Keelung Campaign, and the Shih-ch'iu-ling battery had been held against the French for most of the war. Now, in 1895, the Japanese routed the fort's garrison and captured the fort with little loss. Keelung was occupied on the afternoon of 3 June, after the Qing commanders fled the city and left the garrison force leaderless. Japanese casualties in the battle for Keelung were 2 dead and 26 wounded.