In 1873 the Vietnamese government enlisted the help of the Black Flag Army to defeat the first French attempt to conquer Tonkin, led by the naval lieutenant Francis Garnier.
In December 1883 the Black Flag Army suffered a major defeat at the hands of Admiral Amédée Courbet in the Sơn Tây Campaign.