劉銘伝
During the Sino-French War (1884-1885) the French attempted an invasion of Taiwan during the Keelung Campaign. Liu Mingchuan, who was leading the defence of Taiwan, recruited Aboriginals to serve alongside the Chinese government soldiers and Hakka militia in fighting against the French. The French were defeated at the Battle of Tamsui and the Qing forces pinned the French down at Keelung in an eight-month-long campaign before the French withdrew. The Hakka used their privately owned muskets instead of modern western rifles.