The Sino-French War was the war of aggression France waged in 1883-1885 to seize Vietnam and the southwest's rights. France had swallowed Cochin China step by step and took Hanoi in 1882; Qing troops crossed the passes at Vietnam's invitation, and after Son Tay fell at the end of 1883 and Bac Ninh in March 1884 the war spread. It ran on two fronts: in 1884 at the battle of Mawei in the Fuzhou roadstead the Qing's Fujian fleet, caught unprepared, was destroyed, the French taking Keelung and blockading Taiwan while Liu Mingchuan held the island with credit; in early 1885 the French came at the Zhennan Pass — and the near-seventy-year-old general Feng Zicheng broke them there, the Jules Ferry cabinet falling in Paris on the news, with Zhang Zhidong moving troops and money behind the line. Yet the court 'collected victory as soon as it had it': Li Hongzhang signed the Treaty of Tianjin with France (1885) — the French protectorate over Vietnam recognized, the Sino-Vietnamese border opened to trade, China's southwest gates standing open — and Vietnam passed out of the centuries-old suzerain bond into French colonial rule. In the same year Taiwan was made a province, Liu Mingchuan its first governor. The land war won and the diplomacy lost, the mockery of 'undefeated yet defeated' attached itself to the war, another exposure of the system's rot.