Panthay Rebellion
The Pingnan State, 'Pacified South', was a Muslim state in western Yunnan created during the Panthay Rebellion of the Hui and other peoples against the Qing Empire. The rising broke out in 1856 after a massacre of Muslims in Kunming; its leader Du Wenxiu took Dali, assumed the title of sultan and ruled there for almost sixteen years, seeking British support. In 1872 Qing troops besieged and took Dali, Du Wenxiu killed himself, and the city's population was massacred.