Middle Ages875-884
Huang Chao Rebellion (875-884): The Revolt That Doomed the Tang
The Huang Chao Rebellion of 875-884 swept across Tang China, sacking Guangzhou and Chang'an. Its causes, course, leaders and role in the Tang dynasty's fall.

Contents
The Huang Chao Rebellion was a massive uprising that raged across China from 875 to 884, at the end of the Tang dynasty. Led by the salt smuggler Huang Chao, rebel armies marched thousands of kilometres, sacked the great southern port of Guangzhou and captured the imperial capital Chang’an. Although the revolt was finally crushed, it shattered Tang authority and set the stage for the dynasty’s collapse in 907.
Background: a weakened dynasty
The Tang dynasty never fully recovered from the An Lushan Rebellion of 755–763. Afterwards, military governors (jiedushi) controlled many provinces, kept their own armies and often withheld taxes from the court. Palace eunuchs dominated the government in Chang’an and chose several emperors.
To raise money, the state relied heavily on its monopoly of salt, selling it at prices far above cost. This created a large, organised world of salt smugglers, men used to moving goods secretly and fighting officials.
In the late 860s and 870s, drought, locusts and floods struck the north China plain, particularly modern Henan and Shandong. Tax demands continued even as crops failed. Desperate peasants joined bandit bands, and rebellion became a way to survive.
The rising of Wang Xianzhi and Huang Chao
In about 874–875 Wang Xianzhi, a salt smuggler from Changyuan in modern Henan, rose in revolt. In 875 Huang Chao, another salt trader from Caozhou in Shandong, joined him with his own followers. Later accounts say Huang Chao was literate and had failed the civil service examinations, a detail that may be partly legendary.
The rebels avoided pitched battles with strong armies and moved quickly from region to region, plundering cities. Tang commanders often preferred to drive them into a neighbour’s territory rather than destroy them. When the court offered Wang Xianzhi an official post, Huang Chao objected and the two leaders split.
Wang Xianzhi was defeated and killed in 878 in modern Hubei. Many of his men joined Huang Chao, who now took the title “Heaven-Storming Generalissimo”.
The march south and the sack of Guangzhou
Blocked in the north, Huang Chao led his army south across the Yangtze, through Jiangxi and Zhejiang, cutting a road through the mountains into Fujian. In the autumn of 879 he captured Guangzhou, then China’s richest port for trade with Southeast Asia, India and the Islamic world.
The city was sacked and many of its inhabitants killed. The Arab writer Abu Zayd al-Sirafi, writing in the early 10th century, reported that 120,000 foreign Muslims, Jews, Christians and Zoroastrians died. Modern historians accept that a massacre took place but treat this figure with caution. He also wrote that the rebels cut down mulberry trees, damaging the silk trade.
Disease struck the rebel army in the southern heat. Huang Chao turned north again, marching through Guangxi and Hunan and down the Yangtze valley.
The capture of Chang’an
In 880 the rebels crossed the Yangtze and the Huai and swept into the north. Luoyang, the eastern capital, fell late in 880. The Tong Pass, the gateway to the capital region, was taken in early January 881.
Emperor Xizong, a teenager controlled by the eunuch Tian Lingzi, fled to Chengdu in Sichuan. In January 881 Huang Chao entered Chang’an, one of the largest cities in the world, and proclaimed himself emperor of the Great Qi dynasty.
At first his troops distributed loot to the poor, but order soon broke down. Members of the Tang imperial clan and many officials were killed. When Tang forces briefly re-entered the city in 881 and some residents welcomed them, Huang Chao’s returning army took savage reprisals. The poet Wei Zhuang later described the ruined capital in his long poem The Lament of Lady Qin, which was lost for centuries and rediscovered among the Dunhuang manuscripts.
Defeat and death
Huang Chao never controlled more than the capital region, and Tang loyalist armies gradually closed in. In 882 one of his generals, Zhu Wen, defected to the Tang, receiving the name Zhu Quanzhong (“Complete Loyalty”).
The decisive force was the Shatuo Turks under Li Keyong, whose black-clad cavalry defeated the rebels. In 883 Huang Chao abandoned Chang’an, setting fires as he left. He then besieged the city of Chenzhou for many months without success.
In 884 Huang Chao’s army was broken by Li Keyong and Zhu Wen. He fled to Langhu Valley near Mount Tai in Shandong, where he died in the summer of 884. Official accounts say his nephew killed him and delivered his head to the Tang, although some sources say he took his own life.
Consequences
The rebellion ended, but the Tang never recovered. When Emperor Xizong returned to Chang’an in 885, he found a damaged city and a court that could no longer command the provinces. Chang’an and the capital region were devastated, and the great aristocratic families who had dominated Tang government suffered heavy losses, a blow from which they did not recover as a class.
Power passed to the generals who had defeated Huang Chao. Zhu Wen became military governor at Bianzhou (modern Kaifeng), while Li Keyong held Taiyuan. In 904 Zhu Wen forced the court to move to Luoyang and had Chang’an dismantled; in 907 he deposed the last Tang emperor and founded the Later Liang, beginning the Five Dynasties and Ten Kingdoms period.
Key people
- Huang Chao (died 884): salt trader and rebel leader who rose from bandit chief to self-proclaimed emperor of Qi.
- Wang Xianzhi (died 878): salt smuggler who started the uprising and led it until his death in battle.
- Emperor Xizong (r. 873–888): the young Tang emperor who fled to Sichuan and returned to a ruined capital in 885.
- Zhu Wen (852–912): one of Huang Chao’s generals who changed sides in 882 and later overthrew the Tang.
- Li Keyong (856–908): Shatuo Turkic commander whose cavalry played the leading part in retaking Chang’an.
Legacy and memory
Traditional Chinese historians, writing for later dynasties, portrayed Huang Chao as a bloodthirsty bandit, and stories of his cruelty grew over the centuries. Two short poems about chrysanthemums, attributed to him, became famous for their image of a rebel army in golden armour filling the capital, though their authorship cannot be confirmed.
In the 20th century, Marxist historians in the People’s Republic of China reinterpreted the revolt as a great peasant uprising against a feudal order. Modern scholarship takes a more balanced view, stressing the role of famine, the salt trade and the breakdown of Tang military institutions. Death tolls for the whole rebellion are unknown; later claims of many millions killed are not supported by reliable contemporary figures.
Timeline
- c. 874–875: Wang Xianzhi rebels; Huang Chao joins him in 875.
- 878: Wang Xianzhi is killed; Huang Chao takes overall leadership.
- 879, autumn: The rebels capture and sack Guangzhou.
- 880, late: Luoyang falls to the rebels.
- 881, January: Huang Chao enters Chang’an and proclaims the Qi dynasty; Emperor Xizong flees to Sichuan.
- 882: Zhu Wen defects to the Tang.
- 883: Li Keyong’s Shatuo army forces the rebels out of Chang’an.
- 884, summer: Huang Chao dies near Mount Tai.
- 907: Zhu Wen ends the Tang dynasty.
Why it matters
The Huang Chao Rebellion turned a slow Tang decline into collapse. By destroying the capital and the old aristocracy and empowering regional warlords, it opened half a century of division and shaped the very different China of the Song dynasty that followed.
Frequently asked questions
Who was Huang Chao?
Huang Chao was a salt smuggler and merchant from Shandong who, according to tradition, had failed the imperial examinations. He led the largest rebellion of the late Tang period, captured the capital Chang'an in 881 and declared himself emperor of a new Qi dynasty.
What caused the Huang Chao Rebellion?
Famine, drought and floods in the 870s, heavy taxation and the state salt monopoly drove many peasants and smugglers into banditry. The Tang court, weakened since the An Lushan Rebellion, depended on regional governors who often failed to cooperate against the rebels.
What happened in Guangzhou in 879?
Huang Chao's army captured and sacked Guangzhou, then China's greatest foreign trading port. The Arab writer Abu Zayd al-Sirafi later reported that 120,000 Muslims, Jews, Christians and Zoroastrians were killed; historians accept a massacre took place but regard that figure as uncertain and possibly exaggerated.
How did the Huang Chao Rebellion end?
Tang forces, led by Shatuo Turkic troops under Li Keyong and by the rebel defector Zhu Wen, drove Huang Chao out of Chang'an in 883. He fled east and died in 884 near Mount Tai in Shandong, probably killed by his own nephew.
Why did the rebellion lead to the fall of the Tang dynasty?
It wrecked the capital region and the court's finances and handed real power to military governors such as Zhu Wen and Li Keyong. Zhu Wen later controlled the court and in 907 deposed the last Tang emperor, founding the Later Liang.
Sources and further reading
- Denis Twitchett (ed.), The Cambridge History of China, Vol. 3: Sui and T'ang China, 589-906 (1979)
- Mark Edward Lewis, China's Cosmopolitan Empire: The Tang Dynasty (2009)
- Nicolas Tackett, The Destruction of the Medieval Chinese Aristocracy (2014)
- Encyclopaedia Britannica, "Huang Chao"
Cite this article
“Huang Chao Rebellion (875-884): The Revolt That Doomed the Tang.” Chronicle, https://chronicle.bigworldlist.com/articles/huang-chao-rebellion-875/.