Pingnan Sultanate
Waves of conflict between the Muslim Hui people in Yunnan and the Qing government escalated into an all out rebellion in 1856. The rebels in western Yunnan under the leadership of Du Wenxiu became the major military and political center of opposition to the Qing government. They turned their fury on the local mandarins and ended up challenging the central government in Beijing. The rebellion successfully captured the city of Dali, which became the base for the rebels' operations, and they declared themselves a separate political entity from China. The rebels identified their nation as Pingnan Guo (平南国 The Pacified Southern Kingdom) and Du Wenxiu was styled Qa´id Jami al-Muslimin ('Leader of the Community of Muslims'), but is usually referred to in foreign sources as Sultan) and ruled 1856 - 26 December 1872. The sultanate reached the high watermark of their power and glory in 1860.
The Sultanate's power declined after 1868. The Chinese Imperial Government had succeeded in reinvigorating itself. By 1871, it was directing a campaign for the annihilation of the obdurate Hui Muslims of Yunnan. Though largely forgotten, the bloody rebellion caused the deaths of up to a million people in Yunnan. Many adherents to the Yunnanese Muslim cause were persecuted by the imperial Manchus. Wholesale massacres of Yunnanese Muslims followed.
For a period of perhaps ten to fifteen years following the collapse of the Panthay Rebellion, the province's Hui minority was widely discriminated against by the victorious Qing, especially in the western frontier districts contiguous with Burma. During these years the refugee Hui settled across the frontier within Burma gradually established themselves in their traditional callings – as merchants, caravaneers, miners, restaurateurs and (for those who chose or were forced to live beyond the law) as smugglers and mercenaries and became known in Burma as the Panthay.
Read more about this topic: History Of Yunnan