Liu Mingchuan 1884, the Sino-French War, defended Taiwan Province Province with the title of Governor. In August, the French army invaded Keelung and captured the fortress. He gave full play to the advantages of officers and men on land and repelled the enemy. After the French army fell into Keelung again, he commanded the Qing army to defend Shanghai and Taipei and fought hand-to-hand with the enemy for eight months. After the war, Taiwan Province Province became the first governor. During his tenure, he added counties, built forts and wires, and built railways to connect the north and the south, thus strengthening the defense of Taiwan Province Province. 1890, the Ministry of War awarded the Ministry of War Shangshu, who was ordered to assist the naval military affairs, but left due to illness. Liu Yongfu1April, 895, the Qing government defeated the peace and signed the treaty of shimonoseki with Japan, ceding the whole island of Taiwan Province Province and its affiliated islands to Japan. At the beginning of June, the Japanese army landed at the bottom of Sanjiaojiao and advanced to Taipei. Liu Yongfu drafted a covenant in Tainan and issued a call for common resistance to Japan. It means to defend the country, "don't hesitate to die" and "even if there is a piece of land left, keep it and don't take it." On June 7, the Japanese army was trapped in Taibei. On June 28, local gentry and people in Taiwan Province Province elected Liu Yongfu as the democratic president of Taiwan Province to lead the Anti-Japanese War. Liu Yongfu refused to accept, still as a deputy, and entered the government to lead the people's war of resistance in Taiwan Province Province. Taiwan's troops and hundreds of volunteer barracks across the country will be sent to patrol the strategic pass respectively, and people will be sent to take over the post of civil and military officials of the "Neidu" and actively lead Taiwan Province's anti-Japanese struggle. 101October 2 1 day, Japanese troops occupied Tainan. At this point, Liu Yongfu failed in the Anti-Japanese War in Taiwan Province Province. Although Taiwan Province Province failed in the Anti-Japanese War, under extremely difficult circumstances, the soldiers and civilians of Taiwan Province Province led by Liu Yongfu fought bravely for more than four months against the attacks of two modern divisions and a naval fleet of the Japanese army, which dealt a heavy blow to the aggressors. There were 50,000 Japanese invaders, with 32,000 casualties and illnesses, including 4,600 deaths in Taiwan Province. Beichuan, the leader of the Japanese invasion of China, the head and lieutenant general of the Guards Division, and the head and major general of the second brigade, Yamagen Shinsei, were also killed by the soldiers and civilians of Taiwan Province.