Dungan Revolt (1862–1877)
Country: China: Region: Shaanxi, Gansu, Ningxia, Qinghai and Xinjiang
Period: 1862–1877: Historical Category: Anti-Qing uprising, Muslim rebellion, regional civil war
Primary Communities Involved: Hui Muslims, Salar Muslims and other Muslim communities, alongside Han Chinese, Uyghur and other regional populations
Ruling Dynasty: Qing Dynasty: Qing Military Commander: Zuo Zongtang
Outcome: Qing reconquest of the affected territories; major demographic changes and migration of Muslim communities into Central Asia.
Historical Overview
The Dungan Revolt (1862–1877) was a series of interconnected Muslim uprisings against Qing imperial authority in northwestern China. It involved predominantly Hui Muslim communities, who were known as Dungans in Russian and Central Asian sources. The conflict began in Shaanxi in 1862 and spread into Gansu, Ningxia and neighbouring areas. A related wave of uprisings began in Xinjiang in 1864, where local Muslim groups challenged Qing officials and established competing regional governments.
The revolt did not operate under one unified command. Different communities and military leaders pursued their own political, religious and regional objectives. Some leaders fought the Qing government throughout the conflict, while others eventually negotiated with Qing commanders and joined imperial forces against remaining insurgents.
The Qing government gradually regained control under General Zuo Zongtang, whose campaigns culminated in the reconquest of much of Xinjiang in 1876–1877. The defeat of the uprisings caused extensive destruction, loss of life, displacement and migration. Some
Dungan groups crossed into Russian-controlled Central Asia, where their descendants established communities that remain today.
eah.anu.edu.au+3
Important historical distinction: The Dungan Revolt should not be treated as one centrally organised religious war or as identical to the Panthay Rebellion in Yunnan (1856–1873). The Panthay uprising was a separate conflict in southwestern China, although both occurred during the wider period of Qing imperial crisis.
Cambridge Core+1
Historical Background and Causes
2.1 Qing Imperial Crisis
During the middle of the nineteenth century, the Qing Dynasty faced several major internal conflicts. The Taiping Rebellion (1850–1864), Nian Rebellion (1853–1868), and other regional uprisings placed enormous pressure on the imperial government.
Military resources were stretched across the empire. Troops and commanders were repeatedly transferred between provinces, weakening the government's ability to respond quickly to disturbances in the northwest.
The conflict in Shaanxi began while Qing forces were already engaged in suppressing other rebellions. This created an opportunity for local disputes and communal tensions to develop into a much wider uprising.
PagePlace+2: 2.2 Han–Hui Communal Tensions
Hui Muslims and Han Chinese communities lived alongside one another in several northwestern provinces. Although there were long histories of trade, settlement and cooperation, disputes over land, water, commerce, local administration and political influence sometimes produced serious tensions.
Local conflicts could become particularly dangerous when armed militias, officials and community leaders became involved. Retaliatory violence between communities contributed to the escalation of the uprising.
The precise immediate incident that triggered the first outbreak in Shaanxi is described differently in historical accounts. Some accounts emphasise disputes involving Han merchants and Hui residents, followed by intervention by local authorities and attacks on Muslim communities. It is therefore safer to understand the outbreak as the result of accumulated tensions and political instability rather than attributing the entire revolt to one isolated incident.
himalaya.socanth.cam.ac.uk+2: 2.3 Religious and Sectarian Factors
Islamic religious institutions played an important role in organising communities during the rebellion. Muslim religious teachers, mosque networks and Sufi religious orders provided leadership and social connections.
Two important Sufi traditions involved in the northwestern conflict were:
• Jahriyya: A Naqshbandi Sufi order associated with Ma Hualong and its centre at Jinjipu. • Khufiyya: A Naqshbandi Sufi tradition associated with several Muslim leaders in Gansu, including Ma Zhan'ao.
These religious affiliations influenced local alliances and leadership, but the rebellion cannot be explained only through sectarian differences. Political authority, community survival, local grievances and military circumstances were also important.
Islam Museum+2: 2.4 Economic and Social Pressures
The northwestern provinces experienced considerable economic difficulties during this period. Agricultural hardship, insecurity, disrupted trade and the consequences of earlier rebellions weakened local communities.
The destruction of settlements and agricultural production further intensified the crisis. As armed conflict spread, ordinary civilians faced displacement, food shortages, attacks and the breakdown of local administration.
PagePlace+2
Beginning of the Revolt (1862)
The first major outbreak occurred in Shaanxi in 1862. Armed conflict developed between Hui Muslim groups, Han communities and Qing authorities. Local violence expanded as attacks and reprisals spread between settlements.
Muslim groups organised armed forces and fortified positions. Some leaders established control over towns and surrounding countryside, while others operated as regional commanders.
The Qing government initially struggled to contain the uprising because its military resources were committed to other conflicts. The insurgency consequently spread beyond its original area.
The fighting was not limited to attacks against Qing officials. Civilians from both Muslim and non-Muslim communities suffered from communal violence, reprisals and military operations.
PagePlace+2
Expansion into Gansu and Ningxia
4.1 The Gansu Uprising: The conflict expanded into Gansu, where several Muslim leaders organised resistance against Qing authority. The region became one of the principal centres of the rebellion.
Ma Zhan'ao emerged as a major leader around Hezhou, while Ma Hualong commanded a significant movement centred at Jinjipu in the area of present-day Ningxia.
Their forces were not simply parts of one unified army. They operated through different regional networks and military alliances, sometimes cooperating but also maintaining separate leadership structures.
4.2 Ma Hualong and Jinjipu: Ma Hualong was one of the most influential leaders of the revolt. He was the fifth shaykh of the Jahriyya Sufi order and established Jinjipu as an important religious, commercial and military centre.
His position allowed him to draw upon religious followers, commercial networks and local armed forces. Jinjipu became a major stronghold during the Qing campaign to restore imperial control.
Ma Hualong's resistance continued even after earlier negotiations with the Qing authorities. His eventual defeat became one of the most significant turning points in the Gansu–Ningxia phase of the conflict.
Islam Museum+2: 4.3 Hezhou and Ma Zhan'ao
Hezhou, in present-day Linxia in Gansu, became another important centre of Muslim resistance.
Ma Zhan'ao emerged as a leading commander in the area. His forces fought Qing troops, but he later negotiated with the imperial authorities and changed sides in 1872.
His decision to surrender and cooperate with Qing forces had major consequences. It weakened the remaining resistance in Gansu and helped the Qing government use local Muslim commanders against other insurgent groups.
Islam Museum+1
Spread of the Uprising into Xinjiang (1864 onward)
5.1 The 1864 Uprisings: In 1864, unrest spread through Xinjiang, where Qing authority was already weakened by the wider crisis in northwestern China. Muslim communities in several towns rose against local Qing officials and military garrisons.
The first major disturbances occurred in Kucha in June 1864. Uprisings subsequently spread to other important settlements, including Urumqi, Ili and Tarbagatai.
The collapse of Qing administration in several areas created a political vacuum. Different local groups established their own governments and military organisations, while competing leaders attempted to control trade routes, towns and agricultural districts.
eastasianhistory.org+1: 5.2 The Ili Sultanate
In the Ili region, Muslim insurgents established a political authority commonly known as the Ili Sultanate or Taranchi Sultanate.
The movement involved Taranchi Muslim communities, particularly in the agricultural settlements of the Ili Valley. It became one of the regional powers that emerged following the collapse of Qing authority.
The Ili Sultanate remained separate from the governments established elsewhere in Xinjiang. Its political history was also affected by Russian intervention: Russian forces occupied the Ili region in 1871, creating a new international dimension to the conflict.
eastasianhistory.org+1: 5.3 Establishment of Kashgaria under Yaqub Beg
One of the most significant political developments in Xinjiang was the rise of Yaqub Beg, a military commander originally associated with the Khanate of Kokand.
In 1865, Yaqub Beg entered Kashgar amid the political instability in the region. He gradually established control over Kashgar and neighbouring territories, creating a state commonly called Yettishar, or Kashgaria.
Yaqub Beg expanded his authority through military campaigns, alliances and administrative measures. His government controlled important parts of southern Xinjiang and later extended its influence into areas of northern Xinjiang.
Although his rise was connected to the wider upheaval of 1864, Yaqub Beg's state was not simply another unit of the Hui rebellion in Shaanxi and Gansu. It had its own leadership, political ambitions and Central Asian connections.
Islam Museum+2
Qing Military Campaigns and Reconquest
6.1 Appointment of Zuo Zongtang: The Qing government eventually placed the northwestern campaign under the command of Zuo Zongtang, an experienced general who had previously participated in the suppression of the Taiping and Nian rebellions.
Zuo was appointed to deal with the Muslim uprisings in the northwest in the late 1860s. He organised military operations, secured supply arrangements and gradually redirected imperial resources towards the affected provinces.
His strategy combined military force, negotiations with local leaders and the recruitment of former insurgents who were willing to join the Qing side.
EBSCOhost+2: 6.2 Siege and Fall of Jinjipu (1869–1871)
Jinjipu was one of the most important strongholds associated with Ma Hualong. Qing forces under Zuo Zongtang gradually surrounded the settlement and restricted its supplies.
The siege placed severe pressure on the defenders and the civilian population. As food and military resources became scarce, Ma Hualong eventually surrendered in January 1871.
The surrender did not prevent a severe military and civilian catastrophe. Historical accounts describe killings and destruction following the Qing entry into the settlement. Ma Hualong was executed on 2 March 1871, together with his son Ma Yaobang and other associated leaders.
The fall of Jinjipu significantly weakened the Jahriyya-led resistance in Ningxia.
Islam Museum+2: 6.3 Ma Zhan'ao Changes Sides (1872)
Ma Zhan'ao and other Muslim commanders in Gansu negotiated with the Qing authorities. In 1872, Ma Zhan'ao formally surrendered and joined the Qing military campaign.
His forces and those of other defecting commanders were reorganised under Qing authority. This was an important development because the Qing government could now use regional knowledge and Muslim military networks against the remaining insurgents.
The change of allegiance also illustrates why the revolt should not be described as a single united army fighting continuously against the Qing. Alliances shifted during the conflict, and local leaders made different decisions according to their circumstances.
Islam Museum+2: 6.4 Defeat of the Remaining Gansu Resistance (1873)
The Qing campaign continued against the remaining rebel positions in Gansu. Suzhou, now known as Jiuquan, was captured by Qing forces in 1873.
Bai Yanhu, one of the remaining insurgent leaders, withdrew westward with his followers rather than surrendering. His retreat connected the earlier fighting in Shaanxi and Gansu with the continuing conflict in Xinjiang.
The capture of Suzhou marked the effective end of the main organised rebellion in Shaanxi and Gansu, although fighting continued further west.
eastasianhistory.org+2: 6.5 Qing Reconquest of Northern Xinjiang (1876)
After restoring control over much of Gansu, Zuo Zongtang turned his attention to Xinjiang.
The Qing military campaign moved into the region in 1876. Urumqi was retaken on 18 August 1876, followed by Manas in November.
These victories weakened the northern territories associated with the wider Muslim uprising and reduced the territorial influence of Yaqub Beg's government.
eastasianhistory.org+1: 6.6 Collapse of Kashgaria and the End of the Conflict (1877)
Yaqub Beg's state faced increasing military pressure from the Qing reconquest. Its position deteriorated as Qing forces advanced through northern Xinjiang and threatened the routes connecting the region's major cities.
Yaqub Beg died in May 1877 at Korla. The exact circumstances of his death remain disputed in historical accounts. His death accelerated the collapse of his government.
Qing forces subsequently regained control over Kashgar and other major centres. Bai Yanhu and a number of remaining followers crossed into Russian territory in 1877.
By the end of 1877, the major organised resistance associated with the Dungan Revolt had been defeated, although the political and territorial settlement of Xinjiang continued beyond that date.
Islam Museum+3
Major Battles, Sieges and Military Events
Event Date Historical significance: Initial outbreak in Shaanxi 1862 Beginning of the northwestern Hui uprising
Spread into Gansu 1862 onward: Expansion of resistance into another major northwestern province
Uprisings in Kucha June 1864 Beginning of the major wave of unrest in Xinjiang
Urumqi uprising and capture 1864 Qing control weakened in northern Xinjiang
Establishment of Yaqub Beg's authority in Kashgar: 1865 onward Emergence of a separate regional state
Qing siege of Jinjipu 1869–1871 Major Qing campaign against Ma Hualong
Surrender and execution of Ma Hualong: January– March 1871
Major defeat for the Jahriyya-led resistance: Ma Zhan'ao's surrender 1872 Important shift in the balance of power in Gansu
Capture of Suzhou (Jiuquan) 1873 Effective end of the main Gansu–Shaanxi phase
Qing capture of Urumqi 18 August 1876: Major step in the reconquest of northern Xinjiang
Capture of Manas: 6 November 1876
Further weakening of resistance in northern Xinjiang
Death of Yaqub Beg May 1877 Political crisis and collapse of Kashgaria
Qing recovery of Kashgar 1877 End of the major organised resistance in Xinjiang
eastasianhistory.org+3
Civilian Impact and Humanitarian Consequences
9.1 Mass Violence and Loss of Life: The Dungan Revolt caused extensive civilian suffering across northwestern China. Fighting involved not only Qing forces and insurgent armies but also local militias and armed groups from different communities.
Hui Muslim and Han Chinese civilians were both affected by attacks, retaliatory killings and the destruction of settlements. Muslim communities also suffered from military operations against towns and fortified villages.
The conflict's violence was intensified by the collapse of local administration, the breakdown of agricultural production and repeated population movements.
9.2 Destruction of Settlements and Agriculture: Several towns and villages were damaged or destroyed during the conflict. Agricultural land was abandoned, commercial routes became insecure and local markets were disrupted.
The destruction of food supplies and the displacement of farming communities created additional hardships. In some areas, famine and disease followed the fighting.
9.3 Migration into Russian Central Asia: One of the lasting consequences was the migration of Dungan Muslims from China into Russian-controlled Central Asia.
Following the defeat of insurgent forces, groups of Hui Muslims crossed into territories that are now part of Kazakhstan and Kyrgyzstan. Bai Yanhu was among the leaders associated with the movement of refugees into Russian territory in 1877.
These migrations contributed to the establishment of Dungan communities outside China, particularly in Central Asia.
eah.anu.edu.au+2: 9.4 Demographic Transformation
The conflict dramatically altered the demographic composition of several areas. Some communities were destroyed or dispersed, while others migrated to safer locations.
Although the rebellion is frequently associated with enormous casualty estimates, exact totals remain disputed. Historical estimates differ because records are incomplete and because deaths from direct violence, famine, disease and migration are not always counted consistently.
Research recommendation: The atlas should avoid publishing one precise overall death toll as an established fact unless it is tied to a clearly identified historical study and methodology.
Political and Historical Consequences
10.1 Restoration of Qing Authority
The Qing government eventually recovered control over Shaanxi, Gansu, Ningxia and the major territories affected by the rebellion. Its military victory was achieved through a combination of campaigns, negotiated surrenders and alliances with former insurgent commanders.
10.2 Qing Control over Xinjiang: The reconquest of Xinjiang strengthened Qing imperial authority in the northwest. The events also contributed to the Qing government's recognition that the region required stronger political and administrative arrangements.
In 1884, Xinjiang was formally established as a province under the Qing Dynasty. This administrative change occurred after the main fighting covered by the 1862–1877 revolt.
eastasianhistory.org+1: 10.3 Growth of Muslim Military Leadership
Some Muslim commanders who had initially fought against the Qing government later became important imperial military allies.
Ma Zhan'ao and members of his military network helped establish the foundations of the influential Muslim military families that later played major roles in the politics of Gansu, Ningxia and Qinghai.
10.4 Long-Term Dungan Identity
The migrations following the revolt contributed to the development of Dungan communities in Central Asia. These communities maintained distinctive cultural and linguistic traditions while developing new relationships with the societies in which they settled.
The revolt therefore became significant not only in Chinese history but also in the history of Central Asian migration and Dungan identity.
eah.anu.edu.au+1
Geographical Significance and Main Locations
Le Xibei, la Chine du Nord-Ouest qui touche d'autres mondes
吴忠金积堡旧事_吴忠市: Location Present-day region Historical importance
Shaanxi Central-north China Initial major outbreak of the revolt in 1862
Gansu Northwest China Major centre of Muslim resistance and Qing military campaigns
Jinjipu Near Wuzhong, Ningxia: Stronghold and headquarters associated with Ma Hualong
Hezhou Present-day Linxia, Gansu Major centre of Ma Zhan'ao's military activity
Suzhou Present-day Jiuquan, Gansu Important resistance centre captured in 1873
Xining Present-day Qinghai Regional centre affected by the wider northwestern uprisings
Kucha Xinjiang Early centre of the 1864 uprising: Urumqi Xinjiang Major city captured by insurgents and retaken by Qing forces
Ili Valley Xinjiang Centre of the Ili Sultanate and later Russian occupation
Kashgar Southern Xinjiang Capital of Yaqub Beg's Yettishar state
Korla Xinjiang Place associated with Yaqub Beg's death in 1877
Historical Assessment
The Dungan Revolt was one of the major internal conflicts faced by the Qing Dynasty during the nineteenth century. Its origins lay in a combination of communal tensions, local political disputes, economic hardship and the weakening of imperial authority.
The uprising developed differently across the affected regions. In Shaanxi and Gansu, local Hui leaders and religious networks played important roles. In Xinjiang, several Muslim communities established independent or semi-independent political authorities, including the Ili Sultanate and Yaqub Beg's Yettishar state.
The conflict also demonstrates the complexity of nineteenth-century Chinese Muslim history. Muslim commanders did not all share the same objectives, and some eventually cooperated with the Qing government. Likewise, the fighting cannot be reduced to a simple conflict between two ethnic or religious communities.
The defeat of the revolt restored Qing authority but left behind widespread destruction, migration and lasting changes in the demographic and political landscape of northwestern China.
Key Historical Distinctions for the Atlas
These distinctions are important when presenting the movement to visitors:
Dungan Revolt and Panthay Rebellion are separate conflicts. The Panthay Rebellion
took place in Yunnan, southwestern China, and should have its own atlas entry. 2. The revolt did not have one central commander. Ma Hualong, Ma Zhan'ao, Bai
Yanhu and other leaders controlled different regional forces. 3. Yaqub Beg's government was a separate political development. His state of
Yettishar emerged during the Xinjiang upheaval but should not be described as simply a branch of Ma Hualong's movement. 4. Not all Muslim commanders remained rebels. Ma Zhan'ao and other leaders
eventually joined Qing forces. 5. The period 1862–1877 covers connected but geographically distinct phases. The
main Shaanxi–Gansu rebellion was effectively defeated by 1873, while the Xinjiang conflict continued until 1877. 6. The Dungan migrations are an important consequence. They should be included in
the movement's historical impact rather than treated as a separate unrelated event.
Suggested Atlas Database Entry
Field Recommended information: Movement Name Dungan Revolt
Alternative Name Tongzhi Hui Revolt; Northwest China Muslim Rebellion
Country China: Start Year 1862
End Year 1877: Main Regions Shaanxi, Gansu, Ningxia, Qinghai and Xinjiang
Main Communities Hui Muslims and other Muslim communities, including Salar groups
Primary Opposing Authority: Qing Dynasty
Major Rebel Leaders Ma Hualong, Ma Zhan'ao, Bai Yanhu, Ma Wenlu
Major Regional Ruler Yaqub Beg: Qing Military Commander Zuo Zongtang
Major Strongholds Jinjipu, Hezhou, Suzhou, Kashgar: Major Turning Points
Fall of Jinjipu (1871), surrender of Ma Zhan'ao (1872), capture of Suzhou (1873), Qing reconquest of Xinjiang (1876–1877)
Outcome Qing victory and restoration of imperial control
Historical Significance: Major nineteenth-century Muslim uprising, Qing reconquest of northwest China, and Dungan migration into Central Asia