 Though the Qing under Dorgon's leadership had successfully pushed the Southern Ming deep into southern China, Ming loyalism was not dead yet. In early August 1652, Li Dingguo, who had served as general in Sichuan under bandit king Zhang Xianzhong (d. 1647) and was now protecting the Yongli Emperor of the Southern Ming, retook Guilin (Guangxi province) from the Qing. Within a month, most of the commanders who had been supporting the Qing in Guangxi reverted to the Ming side. Despite occasionally successful military campaigns in Huguang and Guangdong in the next two years, Li failed to retake important cities. In 1653, the Qing court put Hong Chengchou in charge of retaking the southwest. Headquartered in Changsha (in what is now Hunan province), he patiently built up his forces; only in late 1658 did well-fed and well-supplied Qing troops mount a multipronged campaign to take Guizhou and Yunnan. In late January 1659, a Qing army led by Manchu prince Doni took the capital of Yunnan, sending the Yongli Emperor fleeing into nearby Burma, which was then ruled by King Pindale Min of the Toungoo dynasty. The last sovereign of the Southern Ming stayed there until 1662, when he was captured and executed by Wu Sangui, the former Ming general whose surrender to the Manchus in April 1644 had allowed Dorgon to start the Qing conquest of China.
