刘永福
Historical photograph of 刘永福
Image creditsUnknown authorUnknown author · Public domainImage source

Historical figure

Liu Yongfu (刘永福)

刘永福

Liu Yongfu (刘永福, October 10, 1837–January 9, 1917), courtesy name Yuanting, native of Qinzhou, Guangdong (modern Fangchenggang, Guangxi), was a celebrated Hakka military commander, founder of the legendary Black Flag Army, and national hero of late nineteenth-century China. Born into extreme poverty and orphaned in youth, he joined the Tiandihui (Heaven and Earth Society) insurrection in 1857. In 1865, he founded the Black…

Era not stated

PROFILE

Liu Yongfu (刘永福, October 10, 1837–January 9, 1917), courtesy name Yuanting, native of Qinzhou, Guangdong (modern Fangchenggang, Guangxi), was a celebrated Hakka military commander, founder of the legendary Black Flag Army, and national hero of late nineteenth-century China. Born into extreme poverty and orphaned in youth, he joined the Tiandihui (Heaven and Earth Society) insurrection in 1857. In 1865, he founded the Black Flag Army under a banner depicting the Big Dipper constellation. Facing encirclement by imperial forces, Liu crossed into northern Vietnam in 1867, establishing an autonomous base at Baosheng (Lào Cai) along the Red River, where he instituted agrarian reclamation, protected trade, and suppressed local banditry. In 1873, responding to requests from Emperor Tự Đức of Vietnam to resist French colonial incursions, Liu ambushed French forces at the Battle of An Ma Bridge (Paper Bridge), killing French naval lieutenant Francis Garnier and liberating Hanoi, for which he was ennobled as Defense Commissioner of Baosheng in Xinghua. In May 1883, during renewed French aggression, Liu orchestrated the famous Battle of Paper Bridge, killing French supreme expeditionary commander Captain Henri Rivière and throwing the French government into political crisis. Bestowed the supreme Vietnamese military rank of Governor-General of the Three Tuyên Provinces and title of Baron Nghĩa Lương, Liu was subsequently incorporated into the Qing imperial military during the Sino-French War (1884–1885). Cooperating with Marshal Feng Zicai, the Black Flag Army achieved sweeping victories at Tuyên Quang and Lincui, directly precipitating the Battle of Bang Bo. In 1894, during the First Sino-Japanese War, Liu was appointed Vice Minister of Taiwan Defence and stationed his veterans in Tainan. When the Treaty of Shimonoseki ceded Taiwan to Japan in 1895 and imperial officials fled mainland, Taiwanese gentry and commoners proclaimed Liu supreme commander of anti-Japanese resistance. Operating from Tainan, Liu led the Black Flag Army and local Hakka volunteer militias in desperate urban and mountain combat across Baguashan, Chiayi, and Zengwen Creek, inflicting thousands of casualties on the Japanese Imperial Guards Division and fatally wounding Prince Kitashirakawa Yoshihisa. After all munitions and food were completely severed by Qing blockades, Liu escaped to Xiamen in October 1895. He lived in retirement in Qinzhou, passing away in 1917 at the age of eighty-one.

Courtesy Name
Yuanting (渊亭)
Native Place
Qinzhou, Guangdong (今防城, Guangxi)
Date of Birth
October 10, 1837
Date of Death
January 9, 1917
Age at Death
81
Noble Title
Baron Nghĩa Lương (义良男, Vietnam)
Highest Office
Regional Commander of the Jieshi Garrison, Vice Minister of Taiwan Defence, Governor-General of the Three Tuyên Provinces (三宣提督, Vietnam)
Major Offices
Supreme Commander of the Black Flag Army, Defense Commissioner of Baosheng in Xinghua, Brevet Provincial Commander, Regional Commander of the Nan'ao Garrison, Regional Commander of the Jieshi Garrison, Governor-General of the Three Tuyên Provinces, Commander-in-Chief of the Guangdong Militia, Minister Helping Direct Taiwan Defense
Historical Identity
Eminent late Qing and early Republican patriotic general, founder of the Black Flag Army, national hero of the Sino-French and anti-cession Taiwan wars

LIFE TIMELINE

Birth in Qinzhou

Born into an impoverished Hakka family in Xiaofeng village, Qinzhou; labored as a farmhand from youth.

Joining the Insurgency

Orphaned by famine; joined the Tiandihui rebellion across the mountains of southern Guangxi.

Creation of the Black Flag

Organized two hundred veteran fighters under the seven-star black banner, founding the Black Flag Army.

Stronghold at Baosheng

Marched across the border into northern Vietnam, turning Lào Cai into a thriving agrarian and mining base.

Slaying of Francis Garnier

Ambushed French invaders outside Hanoi at An Ma Bridge, killing Francis Garnier and liberating the capital.

The Paper Bridge Triumph

Decapitated French commander Henri Rivière at the Battle of Paper Bridge; created Governor-General of the Three Tuyên Provinces and Baron Nghĩa Lương.

The Sino-French War

Officially commissioned as general by the Qing court; collaborated with Feng Zicai to defeat French forces in Tonkin.

Return to China

Assigned to imperial garrison posts as Regional Commander of Nan'ao and subsequently Jieshi in Guangdong.

Assignment to Taiwan

Dispatched to Taiwan as Vice Minister of Defense, garrisoning Tainan to prepare against Japanese invasion.

War Against Cession

Led Taiwanese resistance in the Yiwei War (1895) against Japanese occupation, waging five months of bloody combat.

Withdrawal to Xiamen

Evacuated to Xiamen on a British vessel following the complete exhaustion of ammunition and food supplies.

Death in Qinzhou

Passed away peacefully at his Hall of the Three Tuyên Provinces estate in Qinzhou on January 9 at the age of eighty-one.

Relationship graph

BIOGRAPHY

Life and Career

Hardship, Rebellion, and the Black Flag Army

Liu Yongfu was born on October 10, 1837, in Xiaofeng Village, Qinzhou Prefecture, Guangdong Province (now within Fangcheng, Guangxi). Belonging to a Hakka lineage with ancestral origins in Shanghang, Tingzhou, Fujian, his family lived in dire poverty. At age eight, his parents relocated to the remote highlands of Shangsi, Guangxi, where young Liu toiled as a cattle herder, hired laborer, and boatman. The grueling frontier existence honed his physical endurance and intimate familiarity with mountain terrain.

Between 1852 and 1853, catastrophic plagues and famine claimed his parents and relatives. Lacking the funds to purchase coffins, the seventeen-year-old Liu buried his family wrapped in coarse straw mats. Driven by desperation, Liu joined the Heaven and Earth Society (Tiandihui) insurgent forces in 1857 under chieftain Zheng San, fighting imperial troops across the Shiwan Dashan mountain ranges. Developing exceptional skill in ambushes and small-unit tactics, Liu rallied over two hundred hardened followers in 1865 following the collapse of the Taiping northern front. Under a distinctive black standard adorned with the Big Dipper constellation, he formally established the "Black Flag Army."

Base at Baosheng and the Death of Francis Garnier

In 1867, as imperial armies converged on the Guangxi border, Liu led his followers across the border into northern Vietnam, occupying the strategic river valley of Baosheng (modern Lào Cai) along the upper reaches of the Red River. At the time, the borderland was infested with banditry, opium cartels, and tropical diseases. Liu enforced strict martial discipline, suppressing robber gangs and safeguarding regional trade. He constructed irrigation dikes, opened gold mines, and encouraged Chinese and Vietnamese agriculturalists to clear thousands of acres of jungle, transforming Baosheng into a flourishing trade depot and expanding his army to thousands of disciplined fighters.

In the 1870s, French colonialists escalated their military encroachment into Indochina. In the winter of 1873, French naval lieutenant Francis Garnier stormed the Vietnamese citadel of Hanoi, seizing coastal provinces and demanding total submission. Emperor Tự Đức of the Nguyễn dynasty appealed to Liu Yongfu for military assistance. Embracing the duty of a tributary neighbor, Liu led his vanguard toward Hanoi. On December 21, 1873, Liu laid an ambush at An Ma Bridge west of Hanoi, luring Garnier's shock troops into an open crossfire. Black Flag marksmen opened fire before charging with heavy broadswords, slaying Garnier and his senior lieutenants in hand-to-hand combat and driving the French out of the capital. The Vietnamese court rewarded Liu with the title Defense Commissioner of Baosheng and imperial insignia.

The Paper Bridge Triumph and the Sino-French War

In April 1882, the French government dispatched Captain Henri Rivière at the head of a modern naval expeditionary force to seize Tonkin and open a riverine corridor into southwest China. In the spring of 1883, Liu mobilized three thousand Black Flag warriors and issued a formal challenge to Rivière outside Hanoi. On May 19, 1883, the historic Battle of Paper Bridge commenced. Concealing his infantry in tall sorghum fields and bamboo groves flanking the bridge, Liu feigned a tactical retreat. Rivière led six hundred marine infantry across the bridge directly into the kill zone. The Black Flag Army launched a devastating crossfire; Rivière was shot down, and his second-in-command was mortally wounded. Black Flag fighters stormed the field, decapitating Rivière and scattering the expeditionary force. This crushing defeat toppled the French ministry of Jules Ferry in Paris. In reward, the Vietnamese throne elevated Liu to Admiral of Three Preachings (governing Tuyên Quang, Hưng Hóa, and Sơn Tây) and ennobled him as Baron Yiliang of the First Class.

Following the outbreak of the Sino-French War in 1884, Viceroy of Liangguang Zhang Zhidong petitioned the Qing court to incorporate the Black Flag Army into imperial service. The Guangxi Emperor issued a full imperial pardon, appointing Liu as General on the active roster with the peacock feather. Collaborating with veteran general Feng Zicai, Liu orchestrated fierce defensive warfare across northern Vietnam, repulsing French marine assaults during the prolonged Siege of Tuyên Quang and winning sweeping victories at Lincui. These operational triumphs broke the back of the French advance, directly setting the stage for the pivotal Battle of Bang Bo. Following the conclusion of the Treaty of Tientsin in 1885, Liu complied with imperial orders to withdraw across the border, receiving appointment as Regional Commander of Nan'ao and subsequently Jieshi in Guangdong.

The Anti-Cession War in Taiwan and Martyrdom

In 1894, the First Sino-Japanese War broke out. The Qing court appointed Liu Vice Minister of Taiwan Defence, ordering him to transport the Black Flag Army across the Taiwan Strait to reinforce Tainan. Liu fortified the harbor of Anping, constructed artillery emplacements, and drilled local militias. In April 1895, the Qing court signed the humiliating Treaty of Shimonoseki, ceding Taiwan and the Pescadores to Japan. The people of Taiwan erupted in outrage. When governor Tang Jingsong established the short-lived Republic of Formosa and subsequently fled to the mainland alongside militia leader Qiu Fengjia, the gentry and peasantry of Taiwan gathered in Tainan, thrice imploring Liu to assume the presidency. Liu categorically refused all political titles, declaring that he stood merely as an imperial subject sworn to defend sovereign territory.

Issuing his impassioned Manifesto to All Taiwan, Liu swore: "Though ten thousand deaths await, I shall never yield; I shall live or die with Taiwan!" Integrating his Black Flag veterans with local Hakka volunteer militias under leaders Wu Tangxing and Xu Xiang, Liu coordinated fierce resistance across the island. In savage fighting at the Battle of Baguashan, Hsinchu, and Chiayi, the defenders utilized broadswords, bamboo spikes, and hunting muskets to wage ferocious guerrilla and urban combat against the Japanese Imperial Guards Division. The resistance inflicted thousands of casualties on the invaders; both Imperial Guards Division commander Prince Kitashirakawa Yoshihisa and Brigade Commander Major General Yamane Nobunari sustained mortal wounds during these campaigns.

However, the Qing imperial court enforced an absolute naval blockade against Taiwan, cutting off all supplies, ammunition, and finances to appease Japanese treaty demands. By October 1895, after months of continuous fighting, Tainan was surrounded by fifteen thousand Japanese troops while Liu's garrison was reduced to eating roots and wild herbs without a single artillery round remaining. On the night of October 19, recognizing that resistance was hopeless, Liu slipped aboard the British merchant steamer SS Thales to reach Xiamen. Living under court surveillance and later retiring to his Sanxuan Hall estate in Qinzhou, Liu briefly served as provincial militia commander during the 1911 Revolution before passing away peacefully on January 9, 1917, at the age of eighty-one.

Major Achievements

Annihilation of Colonial Commanders in Tonkin

Liu achieved the unprecedented feat of defeating and killing two consecutive supreme French expeditionary commanders in the field: Francis Garnier in 1873 and Henri Rivière in 1883. These tactical masterstrokes, executed through sophisticated ambush doctrine and psychological warfare, demonstrated the military efficacy of indigenous resistance against modern European colonial forces.

Supreme Leadership in the Defense of Taiwan

In 1895, when imperial authorities abandoned Taiwan to Japanese occupation, Liu stood as the soul of Chinese national resistance. Leading peasant volunteers and veteran troops in a five-month war of attrition against modern imperial forces, his refusal to surrender cemented his status as one of the greatest patriotic champions of modern Chinese territorial integrity.

Governance and Agrarian Reclamation in Baosheng

Throughout his sixteen years of governance in Baosheng, Liu demonstrated remarkable state-building capacities. Transforming an anarchic jungle frontier into a secure, thriving commercial and agrarian hub through fair taxation, gold mining regulation, and civic dikes, he earned the enduring affection of both Chinese and Vietnamese border populations.

Interpersonal Relations

  • Comrade-in-Arms: Feng Zicai, legendary Qing marshal; cooperated with Liu Yongfu's Black Flag Army to achieve the historic victory at Bang Bo during the Sino-French War.
  • Taiwan Ally: Qiu Fengjia, renowned patriotic poet and militia leader; coordinated regional anti-cession resistance alongside Liu in 1895.
  • Subordinate Martyrs: Xu Xiang and Wu Tangxing, Hakka resistance commanders who fought alongside the Black Flag Army, dying heroically at Baguashan.
  • Imperial Patron: Zhang Zhidong, Viceroy of Liangguang; championed the imperial pardon of Liu Yongfu and secretly assisted his Taiwan resistance efforts.
  • Fallen Adversary: Francis Garnier, French naval lieutenant killed in combat by Liu's forces at the Battle of An Ma Bridge in 1873.
  • Fallen Adversary: Henri Rivière, French expeditionary commander killed in combat by Liu's forces at the Battle of Paper Bridge in 1883.
  • Imperial Japanese Casualty: Prince Kitashirakawa Yoshihisa, Lieutenant General commanding the Imperial Guards Division, mortally wounded during campaigns against Liu's forces in Taiwan.

Historical Evaluation

  • Provisional President Sun Yat-sen praised him: "General Liu Yongfu was a consummate paragon of China. Resisting foreign aggression in the mountains of Vietnam and fighting ferocious invaders on the shores of Taiwan, his heroic courage pierced the heavens; he was truly the backbone of the nation!"
  • Revolutionary General Cai E composed in his memorial eulogy: "A solitary pillar of the southern skies who held boundless righteous fury; twice beyond the frontier he struck down foreign commanders. His noble integrity is witnessed by heaven and earth, his heroic name immortal across ten thousand generations."
  • Historian Fan Wenlan evaluated in Modern History of China: "Liu Yongfu originated in the peasant insurrections of the Tiandihui, transforming into an immortal national hero resisting foreign imperialism. In the Sino-French War, he repeatedly shattered colonial invaders; in the anti-cession struggle of Taiwan, he remained unyielding to the end, embodying the magnificent revolutionary heroism of the Chinese people."

Related Entries

  • Black Flag Army
  • Sino-French War
  • Battle of Paper Bridge
  • Yiwei War (1895)
  • Feng Zicai
  • Battle of Bang Bo
  • Tiandihui
  • Hall of the Three Tuyên Provinces

FIGURES ASSOCIATED WITH THIS DYNASTY

Bibliography

  • Draft History of Qing, Volume 463, Biographies 250: Biography of Liu Yongfu
  • Veritable Records of the Qing Dynasty (Guangxu Reign), Volume 208
  • General History of Taiwan, Volume 36: Records of Independence