The Black Flag Army, possibly consisting of former Taiping rebels (ethnic Zhuang soldiers who mostly live in the Guangxi Zhuang Autonomous Region in Southern China), crossed from China to Vietnam in 1865. They gained recognition for fighting against the French with support from Vietnamese and Chinese authorities. The army was named after their commander, Liu Yongfu, who favored using black command flags.