劉永福
In 1863, Wu Lingyun (Wu Yuanqing) died when having battle with Guangxi provincial army led by Feng Zicai, which pushed Yanling kingdom into crisis. His son Wu Yazhong (also called Wu Kun) became the new leader and led his loyalists to occupied Guishun, a city in the far west of Guangxi. During this time, Wu Yazhong kept seeking followers, while Liu Yongfu decided to leave China for Vietnam with his followers whom he gathered and formed Black Flags.