Black Flag Army

Black Flag Army
黑旗軍 · Quân cờ đen · 軍旗黰
Possible reconstruction of a Black Flag Army's command flag
Active1860s–1885
CountriesChina, Vietnam
AllegianceQing dynasty, Nguyễn dynasty
EngagementsGarnier Expedition
Tonkin campaign
Sino-French War
Pacification of Tonkin
Commanders
CommanderLiu Yongfu

The Black Flag Army (Chinese: ; pinyin: Hēiqí Jūn; Vietnamese: Quân cờ đen, chữ Nôm: 軍旗黰) was a splinter remnant of a bandit and mercenary group recruited largely from soldiers of ethnic Zhuang background and former Taiping soldiers who crossed the border in 1865 from Guangxi, China into northern Vietnam, during the Nguyễn dynasty, and were hired and sponsored by Vietnamese authorities to fight against other bandits and rebels. Although brigands, they were known mainly for their fights against the invading French forces, who were then moving into Tonkin (northern Vietnam). The Black Flag Army is so named because of the preference of its commander, Liu Yongfu, for using black command flags.

The army was officially disbanded in 1885 as a result of the Treaty of Tientsin between France and China. However, remnants of the army continued to wage a guerilla war against French colonial authorities for years. With the sanction of both Vietnamese and Chinese authorities, the Black Flags joined the Vietnamese irregular forces, stemming French encroachment beyond the Red River Delta.