The mid nineteenth century nearly broke the Qing empire. Between 1850 and 1878 China was consumed by overlapping civil wars whose combined death toll ranks among the highest in human history. The best known of these is the Taiping Rebellion, 1850 to 1864, a millenarian uprising led by Hong Xiuquan, a failed examination candidate who proclaimed himself the younger brother of Jesus Christ and founded the Heavenly Kingdom of Great Peace with its capital at Nanjing. Less prominent in popular memory, but comparable in demographic destruction and more consequential for the modern territorial state, was the Dungan Revolt, also called the Tongzhi Hui Revolt or the Shaanxi, Gansu Muslim uprising, of 1862 to 1877. That conflict began with communal violence between Han and Hui, Chinese speaking Muslims, in the Wei River valley, spread across Shaanxi, Gansu, and Ningxia, and then fused with the collapse of Qing authority in Xinjiang, where the adventurer Yaqub Beg established a short lived Islamic state at Kashgar with links to Kokand, the Ottomans, and British India.
Together the two rebellions, along with the Nian and the Panthay revolt in Yunnan, exposed the dynasty’s inability to govern a vast, multi ethnic, multi religious empire under the pressure of internal crisis and Western imperialism. They also produced the military and political instruments, regional Han armies, a new emphasis on frontier reconquest, and a vocabulary of national salvation, that later Chinese regimes inherited. Contemporary Chinese views of the two events are not symmetrical. The Taiping Rebellion remains a usable, if contested, chapter in the story of peasant revolution. The Dungan Revolt is treated far more cautiously: the uprising itself is downplayed or framed as chaos, while its suppression, especially Zuo Zongtang’s reconquest of Xinjiang, has been energetically rehabilitated as a founding act of modern Chinese territorial integrity. The contrast reveals how official memory is organized around present needs, revolutionary pedigree on one side, multi ethnic unity and control of Xinjiang on the other.
Two Rebellions, One Imperial Crisis
The Taiping movement combined anti Manchu nationalism, peasant egalitarianism, theocracy inspired by Christianity, iconoclasm, and radical social experiments: land redistribution in the Land System of the Heavenly Dynasty, bans on opium and foot binding, and unusual mobilization of women. At its height it ruled tens of millions in the Yangtze valley. Estimates of deaths commonly range from 20 to 30 million. The Dungan Revolt was different in character. It was not a single ideologically unified movement with a prophet king. It began in 1862 from local disputes, market quarrels, rumors, militia clashes, that exploded into reciprocal massacres. Hui communities in Shaanxi rose, Han militias retaliated, and the violence became communal and total. In Gansu, Jahriyya Sufi networks and other Muslim groups formed armed polities. In Xinjiang the revolt intersected with Turkic unrest, Yaqub Beg seized most of the region after Qing garrisons disintegrated.
Population loss in the northwest was catastrophic. Demographic work by Cao Shuji and others suggests that Shaanxi and Gansu together lost on the order of twenty million people between 1861 and 1880 through killing, famine, and epidemic, roughly three fifths of the pre war population in some reconstructions. Hui communities in Shaanxi were reduced to a fraction of their former size, survivors fled west or were later resettled under tight control. Han losses were also enormous. The war was not a one sided Muslim rebellion against a Chinese state, it was a collapse of communal coexistence in which both sides committed atrocities and the Qing state, when it recovered, applied extreme collective punishment, especially at the siege of Suzhou, Jiuquan, in 1873.
The two rebellions were linked by personnel and sequence. Zuo Zongtang, a Hunan scholar general in the Xiang Army tradition that had helped destroy the Taiping, was sent northwest after Nanjing fell. He first crushed or co opted the Hui forces in Shaanxi and Gansu, sometimes using surrendered Hui commanders such as Ma Zhan’ao against other Muslims, then argued successfully, against Li Hongzhang’s preference for coastal defense, that Xinjiang must be recovered. Between 1876 and 1878 his armies destroyed Yaqub Beg’s state. In 1884 Xinjiang was converted from a military frontier into a regular province, a decisive step in the administrative incorporation of the far west into a Chinese style territorial state.
Official Memory: Peasant Revolution versus Frontier Recovery
Qing language treated the Taipings as Yue bandits and the northwestern conflict as Hui luan, Muslim chaos. Republican revolutionaries recast the Taiping as an anti Manchu national revolution. The Dungan Revolt never received an equivalent patriotic upgrade, it remained an embarrassing slaughter among communities inside China.
After 1949 the Communist Party applied class analysis to both, but with different results. The Taiping Rebellion became the highest peak of the old style peasant war, the opening of modern anti imperialist and anti feudal struggle, commemorated on the Monument to the People’s Heroes and in the Nanjing Taiping museum. A 1951 People’s Daily editorial called it a peasant war that lacked only an advanced class to lead it. The Hui uprising was also sometimes labeled a Hui people’s anti Qing uprising, which allowed Zuo Zongtang to be denounced as a butcher serving a reactionary court. During the Cultural Revolution, research on both suppressors, Zeng Guofan and Zuo, was politically dangerous.
Reform era historiography and the later national rejuvenation narrative split the two events. The Taiping story was moderated rather than abandoned. Current unified textbooks still present it as China’s largest peasant war, just in its resistance to Qing oppression and foreign aggression, limited by the peasant class, and finally strangled by Chinese and foreign reactionary forces. Establishment scholars such as Xia Chuntao of the Chinese Academy of Social Sciences continue to police demonization of Hong Xiuquan and one sided praise of Zeng, calling such views a form of historical nihilism. Xi Jinping’s 2021 Party centenary speech listed the Taiping Heavenly Kingdom Movement among the failed patriotic attempts, alongside 1898, the Boxers, and 1911, that proved the need for the Communist Party. The uprising remains inside the revolutionary genealogy.
The Dungan Revolt has traveled in the opposite direction. The uprising itself has been allowed to recede from general education. What has been amplified is Zuo’s reconquest of Xinjiang. In 2023 the nationally compiled junior secondary textbook Chinese History, Grade 8, Volume I, retitled a chapter The Self Strengthening Movement and the Frontier Crisis and added a detailed passage on Zuo’s appointment as imperial commissioner, the strategy of north first, then south, advance slowly, fight swiftly, and the recovery of all Xinjiang except Ili. The university text Outline of Modern Chinese History, a Marxist Theory Research and Construction Project textbook, places the campaign under patriotic officers and soldiers’ anti aggression struggle, stating that Zuo smashed splittist forces, defended national interests and dignity, and safeguarded territorial and sovereign integrity. Documentaries, statues in Hami, a school in Urumqi renamed for Zuo, and local commemorations in his Hunan hometown have accompanied the textbook change. Analysts and official commentary have explicitly linked this Zuo fever to contemporary concerns over Xinjiang, Taiwan, and the narrative of an unbroken multi ethnic Chinese state.
The asymmetry is politically intelligible. A Han led millenarian peasant war can still be praised as an early revolutionary episode. A Muslim communal war that produced a brief independent state in Kashgar, invited foreign intrigue, and ended in mutual extermination is far harder to fit into the people rising against oppression without disturbing the official story of national unity. Better to honor the general who put the pieces back together.
Academic Debate and Popular Memory
On the Taiping side, the last three decades have seen a tug of war between residual revolutionary historiography and a modernization or cultural conservative reading that treats Hong as a cult leader and Zeng as a civilizational savior. Xia Chuntao and others have pushed back, insisting that denying the justice of the Jintian Uprising confuses right and wrong. Online, Hong has become a meme, the exam failure who became God’s second son, used both to mock theocracy and to joke about Christmas and Christianity. Zeng enjoys a parallel popular afterlife as a model of elite competence.
The Dungan Revolt occupies a more awkward popular space. In the northwest, family memory of running from the Hui or of ruined towns persists, but national curricula long said little. Independent writers and overseas forums have described it as a history one cannot touch, because an honest account of reciprocal massacre undermines both the image of harmonious ethnic relations and any simple morality play of oppressed minorities versus a wicked state. Some unofficial Chinese writing now treats the episode as a warning about religious communalism and the fragility of mixed settlement on the frontier. Hui intellectuals and official nationality scholarship tend to emphasize that many Hui remained loyal, that Sufi factions fought one another, and that the disaster was a product of late Qing misrule rather than Islam as such, formulations that protect the category Hui inside the Chinese nation. Yaqub Beg, by contrast, is an unambiguous villain in official discourse, a foreign backed splitter. That framing allows the reconquest to be remembered as anti colonial rather than as the crushing of a local Muslim polity.
Zuo Zongtang himself concentrates the contradictions. Mao era writing could call him a reactionary executioner for his role against Taiping and Hui alike. Today he is simultaneously the man who helped destroy the Heavenly Kingdom and the national hero who recovered Xinjiang with a coffin in tow, ready to die on the frontier. Public commentary still splits: some continue to see a butcher, official media insist that recovering the west outweighs the rest. The same man thus stands on both sides of the official ledger, suppressor of a peasant revolution that must still be honored, architect of a territorial restoration that must be celebrated without qualification.
How the Twin Crises Shaped Modern China
The rebellions shaped the modern Chinese state in several lasting ways.
They completed the militarization of Han regional elites. The Xiang and Huai armies that defeated the Taiping, and the forces Zuo led west, were not the old Green Standard or Banner armies. They were locally raised, personally loyal, and increasingly armed with Western weapons. That pattern of regional militarization outlived the Qing and fed warlordism after 1911. It also created a template: when the center is weak, provincial strongmen restore order in the name of the state.
They determined the administrative shape of the far west. Converting Xinjiang into a province in 1884 was a direct consequence of the revolt and reconquest. It replaced a loose military protectorate with junxian civilian administration, opened the region more fully to Han officials and settlers, and supplied the legal historical basis on which later Chinese governments, including the People’s Republic, claim Xinjiang as an inalienable province level unit. Zuo’s argument that the interior and the frontier were one security system, lose the west and the heartland is exposed, remains a staple of Chinese strategic talk.
They transformed demography and communal geography. The Yangtze core never fully recovered its commercial primacy from before the Taiping in the same form, the northwest was even more thoroughly remade. Hui population in Shaanxi collapsed, surviving communities were concentrated and supervised. Later policies of using Hui to control Hui and the rise of loyalist Muslim generals, the Ma family in the northwest, grew out of the settlement Zuo imposed. Those patterns of managed Muslim autonomy, punctuated by suspicion, echo in later nationality policy.
They supplied rival lessons about revolution and order. Mao’s strategy of peasant mobilization, rural base areas, and land revolution can be read as a completion of what the Taipings attempted without a disciplined party or a secular ideology. The Dungan Revolt supplied the opposite lesson: religious and ethnic cleavage, once militarized, can destroy a region rather than regenerate it. Contemporary policy that insists on the sinicization of religion and on forging a sense of community for the Chinese nation draws, implicitly, on that fear.
They structured the late Qing debate between sea defense and frontier defense, which is still recognizable. Li Hongzhang wanted resources for the coast and a modern navy, Zuo insisted Xinjiang could not be abandoned. The People’s Republic has tried to do both, but the recent elevation of Zuo in textbooks and public space is a reminder that territorial completeness, especially in Xinjiang and, by analogy, Taiwan, has been given renewed ideological priority.
Finally, they defined what kind of past is safe to remember. The Taiping Rebellion can still be taught as a just, if limited, people’s war because it can be folded into a Han centered revolutionary story that culminates in 1949. The Dungan Revolt cannot be taught that way without raising questions the state does not want in general circulation: about Islam and political loyalty, about the costs of reconquest, about whether unity was achieved by massacre as much as by administration. Hence the official solution: remember the recovery, mute the revolt.
Tensions That Have Not Gone Away
An official culture that praises peasant uprising in the south and the crushing of Muslim revolt in the northwest is living with a contradiction. It honors resistance to feudal oppression while treating religiously inflected communal resistance as illegitimate. It celebrates a multi ethnic nation while relying on a Han general’s reconquest as the exemplary patriotic act of the 1870s. It warns against historical nihilism when Hong Xiuquan is called a charlatan, yet practices a selective silence about the scale and mutual character of killing in Shaanxi and Gansu.
Those tensions are not academic. They appear in the management of Hui and Uyghur communities, in the politics of textbooks, in the statues that go up in Hami and the chapters that stay thin in the same books that linger over Jintian. The Taiping Heavenly Kingdom fell in 1864, the last major northwestern strongholds fell in the 1870s. The questions they posed, how a weakening agrarian empire holds a diverse population, what kind of ideology can organize the countryside, what price is paid for unity, and who is allowed to rebel in the name of the people, remain the questions through which the modern Chinese state tells the story of how it came to be, and of what it will not allow to come apart.

