The island was returned to the Chinese during the Ming dynasty when Cheng Ching Kung ordered the Dutch expelled. In 1840 during the Opium War between China and England, English ships bombarded Keelung's Sansha Bay, but retreated after an attack by the Chinese defense.
至於基隆真正的開發，要到清朝嘉慶年間漳、泉兩地人口大量移入，才正式扎根。「開發基隆的過程中，有幾個地名，取得很有趣。」