ABAB Pedia

Great Qi (Huang Chao)

The Great Qi (Daqi) was the state founded by Huang Chao at Chang’an at the end of the Tang dynastyTang dynastyThe Tang dynasty (618–907) was a Chinese dynasty ruled by the Li imperial house, interrupted from 690 to 705 when Wu Zetian renamed it Zhou. Powerful and culturally brilliant in the seventh and early eighth centuries, it was weakened after the An Lushan rebellion of 755–763 by autonomous military provinces and eunuch domination, set on the road to collapse by the Huang Chao rebellion from 875, and ended in 907 when Zhu Quanzhong forced Emperor Ai to abdicate, ushering in the Five Dynasties and Ten Kingdoms.Open the full entry, with the reign name Jintong. A salt smuggler, Huang Chao rose in support of Wang Xianzhi in 874 or 875, fought his way across North China, Jiangnan and South China, took Guangzhou and turned north, capturing Luoyang in 880 and entering Chang’an in 880 or 881, whereupon Emperor Xizong fled to Chengdu and Huang Chao proclaimed himself emperor. Lacking a fiscal base, and under attack from the besieging Tang armies, the Shatuo forces of Li Keyong and his own commander Zhu Wen, who went over to the Tang, the Great Qi abandoned Chang’an in 883, and Huang Chao died in defeat in the Langhu valley near Mount Tai in 884. The decade of war left the Tang court powerless and the military governors stronger; Zhu Wen ended the Tang in 907, opening the Five Dynasties and Ten Kingdoms period.

Contents25 sections
Key facts

Xizong’s Accession and the Late Tang Crisis

After the An Lushan rebellion of the mid-eighth century, the Tang saw the rise of military governors whose power rested on mercenary troops, and introduced new fiscal systems such as the two-tax law and state monopolies, against the background of a growing exchange economy. The dynasty relied on the Jiang–Huai region as its main source of revenue, and in the ninth century the political tensions of the empire came to a head there. Where the Yellow River, the Huai, the Yangtze and the Grand Canal meet, tea and salt smugglers, deserted soldiers and other anti-government forces were active, and regional revolts broke out, among them the Qiu Fu rebellion in Zhejiang and the Pang Xun rebellion at Xuzhou; both were put down.⁠[1][1]

From the ninth century, factional strife between the Niu and Li parties weakened bureaucratic government; the eunuchs exploited the strife and seized real power on the strength of their troops, while the regional military governors used forces at court to make themselves autonomous. Emperor Xianzong’s hard line of subduing the military governors by force left the treasury chronically short, and the burden of taxes and of the salt and tea monopolies grew heavier. Rich merchants and local strongmen accumulated land, and some of them escaped the state’s exactions by becoming privileged merchants, officers of the military governors, soldiers or minor officials, while small and middling farmers grew poorer, became tenants or farm labourers of a new landlord class, and in some cases took to the roads as bandits.⁠[1]

The salt monopoly had been introduced by the Tang during the An Lushan rebellion to pay for the war. As monopoly taxes rose, salt and tea became expensive and bands of smugglers known as salt bandits and tea bandits appeared, the largest being the river bandits who operated on both sides of the Yangtze. When the authorities tightened enforcement, the smugglers resisted with arms; some formed secret societies with men of the knight-errant type, and they often joined forces with farmers crushed by heavy taxes.⁠[1][1][2]

Xizong came to the throne in 873 as a boy of 11 chosen by the palace eunuchs, and reigned until 888; the elevation of a boy emperor by the eunuchs unsettled the country. Before his accession Henan had repeatedly suffered serious floods, and after a terrible drought in 874 a wave of farmers’ uprisings began. In the Qianfu era famine struck year after year and the starving turned to banditry, above all in Henan.⁠[3][4][1][5]

Xizong took the throne before Emperor Yizong’s coffin after Yizong’s death; by one account he was twelve years old at the time, and by one account the day was the xinsi day of the seventh month of the fourteenth year of Xiantong.⁠[6][7]

Wang Xianzhi’s Rising and Huang Chao’s Response

Wang Xianzhi was a native of Puzhou (around present-day Juancheng county, Shandong), or by another account of Yuanqu in Caozhou; he made his living smuggling salt, a state monopoly, and was a notorious leader among the smugglers. Accounts of when he rose differ: one has him raising troops around 874 on the Shandong–Henan border, taking advantage of a famine; another has him rising in Henan in 874; another dates the rising to the fifth month of 875 (or the end of the previous year), with 3,000 followers at Changyuan in Henan; another gives only the second or third year of Qianfu (875–876), in the lower Yellow River region.⁠[8][8][8][8][8][9][6]

Huang Chao rose in answer to Wang Xianzhi, in 874 by one account and in 875 by another, gathering several thousand followers. In the summer of 875 farmers’ revolts broke out one after another in Shandong and Henan along the lower Yellow River, a region struck that year by locusts that left nothing but bare red earth. Wang Xianzhi and Huang Chao both drew on the secret organisation of the salt smugglers, and their rising was a reaction to the government’s crackdown on smuggling; farmers suffering from high salt prices, social disorder and natural disasters joined in, giving the rising the character of a peasant revolt, while the Tang court called the rebels “grass bandits”.⁠[1][10][11][12][9]

The rebels distributed leaflets accusing officials of greed and condemning the heavy tax levies. Wang Xianzhi, Huang Chao and the people who flocked to them fought as roving bands, plundering more than ten prefectures of Shandong and pushing into Henan, attacking prefectures and counties across Shandong and Henan and growing stronger day by day, and in doing so they bred a powerful spirit of subordinates overturning their superiors. Huang Chao at first aimed to seize Luoyang but failed to do so.⁠[5][1][1][1][12][9]

Wang Xianzhi had been a salt smuggler and called his force the “Grass Army”. In the sixth month of the second year of Qianfu he and his associate Shang Junchang took Caozhou and Puzhou. By another account Huang Chao’s rising dates from the fourth year of Qianfu: in its third month Huang Chao of Yuanqu gathered 10,000 men, took Yunzhou and drove out its military governor Xue Chong; by one account he killed Xue Chong when he took Yunzhou, and in the third month he also took Yizhou. The Tang court appointed Song Wei commissioner for the campaign against the “grass bandits” of all circuits.⁠[6][7][9][13]

Wang Xianzhi Seeks Office and the Two Leaders Part

The Tang court at first treated the rising as a minor affair and gave Song Wei command of the campaign to subdue or win over the rebels; at one point the rebels held about 15 prefectures in Henan. Song Wei argued for sparing the rebels. The court tried to buy off the rebel leaders with office: in the twelfth month of 876 it offered Wang Xianzhi the posts of yaya (guard officer) of the Left Shence Army and investigating censor, and Wang wanted to accept, but gave up after strong opposition from Huang Chao and others, and from then on the two went their separate ways. Before this, both Wang Xianzhi and Huang Chao had petitioned the court for official titles and both had been refused.⁠[14][5][8][1][12][5][9]

In the seventh month of the third year of Qianfu Song Wei routed Wang Xianzhi below the walls of Yizhou; on the bingzi day of the ninth month Wang Xianzhi took Ruzhou and captured its prefect Wang Liao, throwing the Eastern Capital, Luoyang, into alarm; he then took Yingzhou and Fuzhou. In the twelfth month Wang Xianzhi attacked Qizhou. Its prefect, Pei Wo, had passed the jinshi examination under Wang Duo as examiner; Wang Duo pressed the court to grant Wang Xianzhi an office, and the court appointed Wang Xianzhi adjutant of the Left Shence Army and investigating censor, sending a eunuch to deliver the patent at Qizhou. Wang Xianzhi was delighted, and Wang Liao and Pei Wo came to congratulate him. Huang Chao, furious that he had been given nothing, said: “At the start we swore a great oath together to sweep across the empire; now you alone take office and go off to the Left Army—where are these five thousand men and more to go?” He struck Wang Xianzhi and wounded him on the head; as the men kept up their uproar, Wang Xianzhi, fearing their anger, refused the appointment. The rebels plundered Qizhou, driving off half its people and killing the other half and burning their houses, and Pei Wo fled to Ezhou. More than 3,000 men then went with Wang Xianzhi and Shang Junchang and more than 2,000 with Huang Chao, and the two forces went separate ways.⁠[9]

Zhu Wen Joins Huang Chao’s Army

Zhu Wen was born on the twenty-first day of the tenth month of the sixth year of Dazhong (852) at Dangshan in Songzhou (present-day Dangshan county, Anhui; placed in Jiangsu by other accounts). His father, who taught Confucian learning in their home district, died when he was young, and he was brought up in another family and became a ne’er-do-well. In 877 he joined Huang Chao’s rebel army and rose step by step to become one of its leading commanders.⁠[15][15][15][16][15][17][18]

The Attack on Songzhou and the Death of Shang Junchang

In the fourth year of Qianfu Huang Chao took Yunzhou and killed its military governor Xue Chong, and in the third month he took Yizhou. On the gengshen day of the seventh month Wang Xianzhi and Huang Chao attacked Songzhou and the troops of three circuits fought them without success. In the eleventh month Yang Fuguang, deputy army supervisor of the campaign, sent men to persuade Wang Xianzhi to submit, and Wang Xianzhi sent Shang Junchang and others to offer surrender to Yang Fuguang; Song Wei had his troops seize Shang Junchang’s party on the road and in the twelfth month reported that he had fought them southwest of Yingzhou and taken them alive. Yang Fuguang told the court that they had genuinely come to surrender and had not been captured by Song Wei; the court had the attendant censor Gui Renshao and others investigate, but the truth could not be established, and Shang Junchang and the others were finally beheaded at Goujiling. Huang Chao then took Kuangcheng and Puzhou. By another account Wang Xianzhi had written to Song Wei asking for a military governor’s insignia, Song Wei had pretended to agree, and when Wang Xianzhi sent his commanders Shang Junchang and Cai Wenyu to court with a memorial, Song Wei beheaded them both as a public warning, whereupon Wang Xianzhi in fury attacked Hongzhou. Shang Junchang was Shang Rang’s elder brother.⁠[13][13][9]

Wang Xianzhi’s Death and Huang Chao’s Leadership

After parting from Huang Chao, Wang Xianzhi fought on north of the Yangtze and was killed in the fifth year of Qianfu (878). Accounts of how and where he died differ: one says he was defeated at Huangmei in Qizhou in the second month of 878 and beheaded by the Tang army; another that he was defeated by the Tang general Zeng Yuanyu and beheaded; another that he died in defeat at Jiangling or Hongzhou; another that he tried to surrender on his own, fell into a trap laid by the Tang army and was killed. Wang Xianzhi’s remaining followers joined Huang Chao, who became the leader of the rising.⁠[8][8][8][8][8][12][13][6][7]

In the second month of the fifth year of Qianfu Zeng Yuanyu crushed Wang Xianzhi at Huangmei, killing more than 50,000 men; he pursued and beheaded Wang Xianzhi and sent his head to the capital, and the remnants scattered. Huang Chao was then besieging Bozhou without success; Shang Rang, younger brother of Shang Junchang, brought Wang Xianzhi’s remaining followers over to him, and they made Huang Chao their king with the title Generalissimo Who Storms the Heavens, adopted the reign title Wangba and set up a staff of officials. By another account Shang Rang had led his men into the Zhaya mountains after his brother’s execution, Huang Chao and his brothers, eight in all including Huang Kui, joined him with several thousand men, their numbers reached tens of thousands within little more than a month, and Shang Rang and the other bands made Huang Chao their leader. Huang Chao then took Yizhou and Puzhou by surprise but was repeatedly beaten by government troops, so he wrote to Zhang Xi, military governor of Tianping, asking him to plead his case at court; an edict appointed Huang Chao General of the Right Guard and ordered him to lay down his arms at Yunzhou, but he never went.⁠[13]

The March South to Jiangnan and Fujian

In the third month of 878 Huang Chao’s army attacked Bianzhou (present-day Kaifeng, Henan) and Songzhou (present-day Shangqiu, Henan), but the defences proved stronger than expected and he turned south, avoiding a head-on clash with the military governors north of the Yangtze. The rebel army took in displaced farmers and vagrants and moved through Jiangnan towards South China, plundering as it went. In 878 Huang Chao sacked Quanzhou and in the twelfth month entered Fuzhou; defeated for a time by the Tang army, he then fell back from Fujian to Guangzhou.⁠[19][11][1][1][1][13]

In the third month of the fifth year of Qianfu Huang Chao raided from Huazhou towards Songzhou and Bianzhou, and the court made the deputy commissioner Zhang Zimian campaign commissioner for the southeast; Huang Chao went on to attack Weinan and then Ye and Yangdi, and troops from Heyang, Xuanwu and Zhaoyi were sent to guard the palaces of the Eastern Capital. In the eighth month, after government troops failed to stop him at Nanling, Huang Chao attacked Xuanzhou without taking it, turned on Zhedong, cut a mountain road of 700 li and raided the prefectures of Fujian. On the jiaxu day of the twelfth month he took Fuzhou, and the surveillance commissioner Wei Xiu abandoned the city and fled.⁠[13]

The Capture of Guangzhou

Huang Chao took Guangzhou (Canton), the wealthy trading port of South China, in 878 by one account and in 879 by another. He had asked the court to make him protector-general of Annam and military governor of Guangzhou, and been refused. At Guangzhou he captured Li Tiao and demanded that he draft a memorial for the rebels; Li Tiao refused and was killed, and the retired scholar Zhou Bu, who would not serve him, was beheaded. A memorial drafted by the rebels at Guangzhou listed the failings of the government, among them the domination of the eunuchs and open bribery. Huang Chao also took Guizhou (present-day Guilin, Guangxi).⁠[10][4][5][19][13]

At Guangzhou Huang Chao’s army killed large numbers of the Muslim and Jewish merchants who traded there and seized their wealth to fund the army. The number of victims is given differently: an Arabic account dated 886 has Huang Chao killing 120,000 Muslims, Jews, Christians and Magians, while an Arabic text of 943 puts the number of Muslims, Jews, Christians and Magians killed or drowned at some 200,000, the figure having grown as the story was retold. The Chinese dynastic histories do not mention the killing of the foreign merchants. Another account has Huang Chao destroying a force of 200,000 Muslim rebels who had been abusing the local population in order to retake Guangzhou.⁠[11][2][5][5][19]

Huang Chao reorganised his army at Guangzhou, which grew to several hundred thousand men. To escape the endemic diseases of the south, and because the southern climate and epidemics were killing many of his soldiers, his commanders urged him to march north on Chang’an, and he led the army back north from Guangzhou.⁠[1][2][1][19][13]

In the fifth month of the sixth year of Qianfu Huang Chao wrote to Cui Qiu, surveillance commissioner of Zhedong, and Li Tiao, military governor of Lingnan East, asking to be made military governor of Tianping; the two forwarded the request, and the court refused. Huang Chao then petitioned to be made military governor of Guangzhou. Xizong had his ministers debate it; the Left Executive Yu Cong argued that Guangzhou, where the treasures of the overseas trade were gathered, must not fall to him, and this too was refused. The court instead discussed another office, and in the sixth month the chief ministers proposed, and the emperor approved, appointing Huang Chao commandant of a guard unit. Gao Pian, military governor of Zhenhai, had asked leave to send Zhang Lin with 5,000 men to hold the passes at Chenzhou in Hunan and Wang Chongren with 8,000 to block Xunzhou and Chaozhou, while he himself led 10,000 men over the Dayu Ridge against Guangzhou, and to have Wang Duo hold Wuzhou, Guizhou, Zhaozhou and Yongzhou with 30,000; the court refused. In the ninth month Huang Chao received the patent as guard commandant; enraged, he cursed the court’s ministers, stormed Guangzhou and took it that same day, captured the military governor Li Tiao and went on to raid the prefectures of Lingnan. He ordered Li Tiao to draft a memorial setting out his aims; Li Tiao replied, “My family has received the dynasty’s favour for generations and my kin fill the court; my wrist may be cut off, but the memorial will not be drafted,” and Huang Chao killed him. By one account Huang Chao took Guangzhou and captured Li Tiao in the fifth month of the sixth year of Qianfu; by one account Li Tiao was killed after being pressed to draft the memorial when Huang Chao held Jingnan in the tenth month of that year, and by another he was killed when Huang Chao took Jiangling on the xinyou day of the eleventh month.⁠[13][7]

The March North and the Crossing of the Huai

In 879 Huang Chao proclaimed that he would overthrow the Tang and began his march north. The rebels went down the Xiang River on rafts and advanced by way of Jiangling towards Xiangyang. The court appointed Wang Duo commander-in-chief of the campaign, stationed at Jiangling, and made Li Xi his deputy and surveillance commissioner of Hunan, with 100,000 men at Tanzhou (present-day Changsha, Hunan). Huang Chao took Tanzhou in a single day and destroyed the government army; by one account 100,000 men died and the Xiang River ran red with their blood. He then broke through at Jiangling, pursued Wang Duo past Xiangyang, crossed the Yangtze and took 15 prefectures in Jiangxi and Anhui. Wang Duo twice served as commander of the Tang forces against Huang Chao, and although he held authority to punish the rebels he long delayed attacking.⁠[2][19][20][5]

The rebels went down the Yangtze from Jingzhou; in 880 they were held up for a time by government resistance and an epidemic, and in the eighth month they crossed the Huai. The court sent Gao Pian with an army to hold back and pacify the rebels, which only slowed Huang Chao’s advance; by one account Gao Pian cared more about rewards after the war than about suppressing the rising, and misjudged the size of the rebel army.⁠[1][19]

By one account the march north went as follows. In the tenth month of the sixth year of Qianfu, with three or four in ten of his soldiers in Lingnan dead of malarial fevers, his followers urged Huang Chao to return north and aim at greater things; he agreed, built dozens of large rafts at Guizhou and rode the high water down the Xiang River past Hengzhou and Yongzhou, arriving below Tanzhou on the guiwei day. Li Xi shut himself in the city and did not dare to fight; Huang Chao stormed it and took Tanzhou in a single day, and Li Xi fled to Langzhou. Huang Chao killed the whole garrison, and their bodies drifted downstream, covering the river. Shang Rang pressed on to Jiangling, his force said to number 500,000. The circuit armies had not yet assembled and Jiangling had fewer than 10,000 defenders; Wang Duo left his officer Liu Hanhong to hold Jiangling and led his own men to Xiangyang, saying he would join Liu Jurong’s army, and once he had gone Liu Hanhong plundered Jiangling. By one account Tanzhou fell and Wang Duo abandoned Jiangling in the second month of the first year of Guangming. In the eleventh month Huang Chao advanced north on Xiangyang. Liu Jurong, military governor of Shannan East, and Cao Quanzheng, campaign commissioner for Jiangxi and prefect of Zizhou, joined forces at Jingmen; Liu Jurong hid troops in the woods while Cao Quanzheng met the rebels with light cavalry and feigned flight, and the pursuing rebels ran into the ambush and were routed. The government troops chased them as far as Jiangling, killing or capturing seven or eight in ten, and Huang Chao and Shang Rang gathered the survivors and crossed the Yangtze eastwards. When someone urged Liu Jurong to pursue them to the end, he said that the court lavished offices and rewards on its soldiers in a crisis and discarded them once peace returned, so it was better to keep the rebels alive as a source of wealth and rank, and he halted. Cao Quanzheng crossed the river in pursuit, but the court then replaced him as campaign commissioner with Duan Yanmo, a commander from Taining, and he too stopped. The rebels recovered, attacked Ezhou and took its outer wall, and raided fifteen prefectures including Raozhou, Xinzhou, Chizhou, Xuanzhou, Shezhou and Hangzhou, their numbers rising to 200,000. In the twelfth month Wang Duo was demoted to adviser to the heir apparent with a sinecure in the Eastern Capital for the loss of Jiangling.⁠[13]

By one account the crossing of the Huai took place in the ninth month of the first year of Guangming. In the fourth month of that year the Huainan commander Zhang Lin crossed the Yangtze and beat Huang Chao repeatedly, and Huang Chao fell back to hold Raozhou. In the fifth month Huang Chao was encamped at Xinzhou when an epidemic killed many of his men and Zhang Lin pressed his attack; Huang Chao bribed Zhang Lin with gold and wrote to Gao Pian offering to surrender and asking him to vouch for him at court. Gao Pian, hoping to lure him in, promised to request a governor’s insignia for him. Troops from Zhaoyi, Ganhua, Yiwu and other circuits had already reached Huainan, and Gao Pian, afraid of sharing the credit, reported that the rebels would soon be crushed and asked that all the circuit armies be sent home, which the court allowed. Once Huang Chao learned that they had gone back north across the Huai, he broke with Gao Pian and challenged him to battle; Gao Pian angrily sent Zhang Lin against him, Zhang Lin was defeated and killed, and Huang Chao’s strength revived. In the seventh month Huang Chao crossed the Yangtze at Caishi; Gao Pian, afraid to take the field, only ordered his officers to stand on guard and protect themselves. In the ninth month Huang Chao’s host was said to number 150,000; Cao Quanzheng met it with 6,000 men and inflicted heavy losses, but, outnumbered, fell back to Sizhou to wait for the other armies. Gao Pian never came to his aid, the rebels broke Cao Quanzheng, and Huang Chao crossed the Huai with his whole army.⁠[13]

The Capture of Luoyang

In the eleventh month of 880 (the first year of Guangming), Huang Chao’s army attacked and occupied the eastern capital, Luoyang. Liu Yunzhang, a former Hanlin academician serving as deputy defender of the capital at Luoyang, gave up resistance and led the officials out to welcome Huang Chao.⁠[2][1][4][19][5][21][6]

In the eleventh month of the first year of Guangming Qi Kerang, the commander guarding the Ru and Zheng routes, reported that Huang Chao had styled himself Generalissimo Who Supplies Heaven and had sent round a letter to the armies saying: “Each of you should hold his own ramparts and not cross my spearhead. I am going to the Eastern Capital and then straight to the capital, to call the court to account myself; it is no concern of the rest of you.” When Huang Chao entered the captured Eastern Capital he only greeted and comforted the people, and the streets remained calm; Liu Yunzhang was a great-grandson of Liu Nai. The Eastern Capital fell, by one account, on the dingmao day of the eleventh month and, by another, on the jisi day. The rebels then took Guozhou and on the bingzi day attacked Tongguan, whose commanders fled at the first sight of them.⁠[21][6]

The Fall of Tongguan and Xizong’s Flight to Chengdu

In the twelfth month of the same year Huang Chao took Tongguan, the gateway to Chang’an, and Huazhou (present-day Hua county, Shaanxi). Emperor Xizong fled in haste to Chengdu in Sichuan, as Emperor Xuanzong had fled during the An Lushan rebellion. The imperial guard had no fighting skill and its men were reluctant to march out; as the rebels approached Chang’an, fleeing government troops burned and plundered the city’s West Market.⁠[19][1][11][5][21][6][7]

As Huang Chao approached, Xizong summoned his chief ministers. Doulu Zhuan and Cui Hang asked for the garrisons within the passes and the Left and Right Shence Armies to be sent to hold Tongguan; the army supervisor Tian Lingzi asked to pick archers and crossbowmen of the Shence Armies for Tongguan with himself as commander, and Cui Hang remarked that An Lushan had had only 50,000 men, nothing compared with Huang Chao. Most Shence soldiers were sons of rich Chang’an families who had bribed eunuchs to enter their names on the army rolls for the pay and rewards and had never been in battle; told they were to march, fathers and sons wept together, and many paid paupers from the charity hospitals to go in their place. On the xinsi day of the twelfth month the rebels seized Tongguan; Huang Chao entered Huazhou and left his officer Qiao Qian to hold it, and Wang Chongrong, acting governor of Hezhong, offered his submission to Huang Chao. On the guiwei day an edict appointed Huang Chao military governor of Tianping. On the jiashen day the chief minister Lu Xie was demoted to adviser to the heir apparent and took poison that night. That day, as the officials left court, word came that rebel troops were in the city and they scattered into hiding; Tian Lingzi took 500 Shence troops and escorted Xizong out through the Jinguang Gate, followed only by a few princes and consorts, without the officials knowing. Xizong went by way of the Luo valley, reached Fengxiang on the xinmao day and Xingyuan on the dingyou day, and arrived at Chengdu on the dingchou day of the first month of the first year of Zhonghe.⁠[21][6][7]

The Entry into Chang’an

Huang Chao’s army entered Chang’an almost without resistance, in 880 by one account and in the first month of 881 by another. Huang Chao rode into the city in golden armour, at the head of a million men by one account, and was greeted by civil and military officials. His vanguard commander Shang Rang assured the residents that the rebels would protect them, and the rebels proclaimed to them that King Huang would make their lives good, unlike the Li family, which had no sympathy for their lives. At first the people of Chang’an welcomed the rebels.⁠[2][1][10][19][22][5]

By one account the entry went as follows. Late in the afternoon of the jiashen day of the twelfth month of the first year of Guangming Huang Chao’s vanguard commander Chai Cun entered Chang’an, and the Grand General of the Imperial Insignia Guard Zhang Zhifang led some dozens of civil and military officials to Bashang to welcome Huang Chao. Huang Chao rode in a gilded litter; his followers wore their hair loose, bound with red silk, and were dressed in brocade, following with weapons in hand, armoured cavalry flowing past and baggage choking the roads in an unbroken train a thousand li long. The people lined the streets to watch, and Shang Rang told them one after another: “The King Huang has raised his army for the sake of the common people, not like the Li house, which does not care for you. Just live in peace and do not be afraid.” Huang Chao took up residence in Tian Lingzi’s mansion. His men, robbers for so long, had more wealth than they could use and often gave to the poor they met; but after a few days they went out and plundered freely, burning the markets and filling the streets with the dead, and Huang Chao could not stop them. They hated officials above all and killed every one they caught. By one account Zhang Zhifang, as a grand general of the Right Valiant Guard, led a dozen or so military officers to meet Huang Chao at Potou; by another he and the military officers went over to Huang Chao on the bingxu day of the twelfth month.⁠[21][6][7]

Huang Chao Proclaims Himself Emperor and Founds the Great Qi

On the thirteenth day of the twelfth month of 880 (the first year of Guangming), Huang Chao took the imperial throne at Chang’an, named his state Great Qi (Daqi) and his reign Jintong, and styled himself Emperor of Qi; by another account he proclaimed himself emperor after taking Chang’an in 881. His honorific title as emperor was “Emperor Who Receives Heaven and Answers Destiny, Opens Sagehood, Wise in Letters and Proclaiming Martial Virtue”.⁠[2][1][1][1][23][10][22][21][6]

The Great Qi rewarded its commanders with offices and titles in proportion to their merits, in an effort to give itself the appearance of a new dynasty. Huang Chao’s right-hand man Shang Rang, who had first taken part in Wang Xianzhi’s rising and later joined Huang Chao, rose to be grand commandant (taiwei) of the Great Qi, by one account also serving as chief of the Secretariat.⁠[19][14][21][13][6]

On the gengyin day of the twelfth month of the first year of Guangming Huang Chao had every member of the Tang imperial clan left in Chang’an killed; on the xinmao day he entered the palace for the first time. On the renchen day he took the imperial throne in the Hanyuan Hall, wearing ceremonial robes painted on black silk, with hundreds of war drums beaten in place of the music of bells and chimes; he mounted the Danfeng Tower to proclaim an amnesty, named his state Great Qi and changed the reign title to Jintong. The new regime read the Tang reign title Guangming as the character for Tang with its lower part removed and the character for Huang added, with sun and moon joined to make “bright”—the sun and moon of the house of Huang—and took it as a heavenly sign in its own favour. The amnesty declared that “the rites of yielding the throne have long been abandoned, and the traces of flight are truly saddening”; Tang officials of the third rank and above were all dismissed, while those of the fourth rank and below kept their posts. Huang Chao made his wife, Lady Cao, empress; by another account it was Lady Qu.⁠[21][6]

Among the officials of the Great Qi, Shang Rang was grand commandant and chief of the Secretariat, Zhao Zhang concurrently chief of the Chancellery, Cui Qiu and Yang Xigu both chief ministers, Meng Kai and Gai Hong left and right executives in charge of the Left and Right Armies, Fei Chuangu commissioner of military affairs, and the erudite of the Court of Imperial Sacrifices Pi Rixiu a Hanlin academician; by another account Zhao Zhang was chief of the Secretariat, Shang Rang grand commandant, Cui Qiu vice director of the Secretariat and chief minister, and Pi Rixiu and the jinshi graduate Shen Yunxiang academicians. Cui Qiu, son (by another reading grandson) of Cui Bin, had been surveillance commissioner of Zhedong and was living in Chang’an after leaving office; while in Zhedong he had exchanged letters with Huang Chao and forwarded his petitions to the court, and Huang Chao made him a chief minister when he found him. Huang Chao also stationed his officer Zhu Wen of Dangshan at the Eastern Wei Bridge and had him win over Zhuge Shuang, who was encamped at Yueyang; Zhuge Shuang submitted to Huang Chao and was made military governor of Heyang, and when the former governor of Heyang, Luo Yuangao, sent troops to resist, the soldiers threw down their armour to welcome Zhuge Shuang and Luo Yuangao fled to the emperor’s camp. By another account Pi Rixiu never served the Great Qi: he moved to Kuaiji to escape the upheaval of the Guangming years, attached himself to the Qian family of Wuyue, held office as an erudite of the Court of Imperial Sacrifices and was posthumously made minister of rites; his son Pi Guangye later became chief minister of Wuyue and his grandson Pi Can an administrator in the generalissimo’s headquarters, three generations renowned for their writing in Jiangdong.⁠[21][6]

Tang officials who had failed to follow Xizong hid among the people and were hunted down and killed by the rebels, among them the chief ministers Doulu Zhuan and Cui Hang, the former chief minister and Left Executive Liu Ye, the junior preceptor of the heir apparent Pei Shen, the vice censor-in-chief Zhao Meng, the vice minister of justice Li Pu and the former chief minister Yu Cong; Zheng Qi, director of the Directorate for Imperial Construction, and Zheng Xi, a director in the Ministry of War, refused to serve the rebels and hanged themselves with their whole households. By another account Doulu Zhuan and the others died at Huang Chao’s hands on the gengzi day of the twelfth month, together with Princess Guangde and Li Tang, governor of the capital district.⁠[6][7]

Great Qi Rule in Chang’an and the Tang Counteroffensive

The Great Qi lacked a fiscal and economic base, and Huang Chao lacked the ability and experience to govern; he could not organise food supplies for the capital, and his regime has been described as cruel and inept. Huang Chao ordered his men not to kill indiscriminately, and by one account gave money to the poor, but soldiers used to plunder got out of hand, and the rebels robbed and assaulted people in Chang’an and lost the support of the population. Underestimating Emperor Xizong, Huang Chao did not pursue him.⁠[1][1][10][4][14][2][19][1][21]

The government won a breathing space, and the military governor Zheng Tian led troops to build a line of defence. Shang Rang, now grand commandant, led an attack towards Sichuan and suffered a heavy defeat; when he came back to Chang’an and found poems mocking the defeat posted all over the city, he had more than 3,000 officials and scholars killed. The Tang vanguard under Cheng Zongchu then closed on Chang’an and Huang Chao withdrew eastward for a time; the government troops who entered the city celebrated without keeping guard and were destroyed when Huang Chao returned, after which he put to death those he considered to have helped or colluded with the government army, a slaughter so thorough that it was called “washing the city”.⁠[19][14]

The Tang mobilised Turkic troops and other forces, surrounded Chang’an and cut off its food supply, and some rebels began to defect; village defence forces raised by local landlords also fought the Great Qi armies. A coalition of more than ten provincial armies besieged Chang’an, and the Great Qi forces ran short of supplies and split internally.⁠[2][1][14][1][6][24]

By another account Shang Rang’s attack was aimed not at Sichuan but at Fengxiang. In the third month of the first year of Zhonghe the court made Zheng Tian, military governor of Fengxiang, commander-in-chief of the armies on all sides of the capital, and Zheng Tian had Cheng Zongchu, military governor of Jingyuan, made his deputy and Tang Hongfu, former military governor of Shuofang, his marshal. Huang Chao sent his officers Shang Rang and Wang Bo (also written Wang Fan) with 50,000 men against Fengxiang. Zheng Tian had Tang Hongfu lay an ambush at a strong point while he himself, with a few thousand men and many flags, deployed in open order on a high ridge; the rebels, scorning Zheng Tian as a mere scholar, advanced to the drums without keeping their ranks, the ambush was sprung, and they were routed at Longwei Slope, losing more than 20,000 heads, their dead lying over dozens of li. By one account the attack on Fengxiang was led by Lin Yan and Shang Rang with tens of thousands of men; by another the battle of Longwei Slope was fought in the second month. Afterwards someone wrote a poem mocking the rebels on the gate of the Department of State Affairs; Shang Rang, enraged, had the officials and gatekeepers of the department blinded and hung upside down, searched the city for everyone who could write poetry and killed them all, and put the literate to menial labour, killing more than 3,000 people in all.⁠[21][6][7]

In the fourth month of the first year of Zhonghe Tang Hongfu followed up the victory at Longwei Slope and closed on Chang’an. On the renwu day Huang Chao led his men out eastwards; Cheng Zongchu entered first by the Yanqiu Gate, Tang Hongfu followed, and Wang Chucun brought 5,000 picked troops into the city by night. The townspeople came out cheering to welcome the government troops, some pelting the rebels with tiles and stones and others gathering arrows for the soldiers. Cheng Zongchu and the others, afraid of sharing the credit, did not inform the armies of Fengxiang and Fu–Xia; their soldiers laid down their weapons, broke into the mansions and seized gold, silk and courtesans. The rebels, camped in the open at Bashang, learned that the government troops were in disorder and that the other armies had not followed, turned back, broke in through all the gates and fought a great battle inside Chang’an; Cheng Zongchu and Tang Hongfu were killed, and the soldiers, too weighed down with loot to run, died eight or nine in ten. On the dinghai day Huang Chao re-entered Chang’an and, furious that the people had helped the government troops, let his men massacre them until the blood ran like a river; this was called “washing the city”. By another account this entry and the massacre took place in the second month of the second year of Zhonghe: Tang Hongfu routed Lin Yan at Xingping, Wang Chucun marched straight into the capital with 20,000 men, the rebels feigned retreat and then broke back in from Bashang, and Huang Chao, angry that the people had welcomed Wang Chucun, killed every grown man until the streets ran with blood. In the first month of the second year of Zhonghe loyalist armies from all over converged on the capital region, Chang’an’s food ran out, and the rebels ate tree bark and used gold and jade to buy people from the besieging armies; many of the people who had fled into the hills were seized and sold by the armies. In the seventh month Shang Rang attacked the Yijun stockade in heavy snow a foot deep, and two or three in ten of his soldiers froze to death.⁠[21][7][6]

Zhu Wen Goes Over to the Tang at Tongzhou

In 882 Huang Chao’s commander Zhu Wen, who was fighting the government armies at Tongzhou (present-day Dali, Shaanxi), weighed the balance of forces, judged that the tide had turned and suddenly went over to the Tang; by one account resentment of the power struggles inside Huang Chao’s camp also played a part, and another account dates his defection to 884. Emperor Xizong gave him the name Quanzhong (“Perfect Loyalty”) and appointed him military governor of Xuanwu, with his seat at Bianzhou, and put him in command of government troops against Huang Chao; he went on to distinguish himself in the suppression of Huang Chao’s armies and became the strongest power in North China.⁠[19][15][15][15][14][2][24][6][17][18]

In the same year a peasant rising led by Qian Neng broke out in Sichuan, where Emperor Xizong had taken refuge, and lasted nine months.⁠[19]

Zhu Wen won repeated distinction under the Great Qi. In the Qianfu years he and his second elder brother Zhu Cun joined Huang Chao’s army, and his fighting earned him the rank of squad leader; Zhu Cun was killed during Huang Chao’s campaign in Lingnan. After Huang Chao took Chang’an on the jiashen day of the twelfth month of the first year of Guangming, he stationed Zhu Wen with troops at the Eastern Wei Bridge. In the second month of the first year of Zhonghe Huang Chao made him vanguard commander of the southeastern field army, and he took Nanyang; when he returned to Chang’an in the sixth month Huang Chao went out to Bashang to welcome him in person, and in the seventh month Zhu Wen held off the armies of Bin, Qi, Fu and Xia at Xingping. In the second month of the second year of Zhonghe Huang Chao made him defence commissioner of Tongzhou, to be taken by his own efforts; Zhu Wen came south from Danzhou, stormed Zuo Pingyi and held Tongzhou. Wang Chongrong, military governor of Hezhong, was his neighbour with tens of thousands of men and beat him several times; Zhu Wen asked Huang Chao for reinforcements again and again, sending ten memorials, but Meng Kai held them back—by one account as officer in charge of the Right Army, by another as palace commandant, by a third as commissioner of the Left Army. Seeing Huang Chao’s position grow ever more desperate, Zhu Wen listened to his close officers Hu Zhen and Xie Tong, who urged him to go over to the Tang. Xie Tong argued that the house of Huang had risen from the grass and simply exploited the Tang’s decline, with none of the merit and virtue of a founding dynasty; with the emperor in Shu and the provincial armies gathering every day to restore him, and the general fighting hard in the field while lesser men hampered him at court, he was in the very position that had led Zhang Han to leave Qin for Chu. On the bingxu day of the ninth month Zhu Wen killed his army supervisor Yan Shi and surrendered Tongzhou to Wang Chongrong, treating Wang Chongrong as a maternal uncle because his mother, Lady Wang, shared his surname; by another account he surrendered on the gengzi day of the eighth month with his senior officers Hu Zhen, Xie Tong and others. Li Xiang, prefect of Huazhou, seeing how well Wang Chongrong treated Zhu Wen, also wanted to go over, but his army supervisor denounced him, Huang Chao had him killed, and made his own younger brother Huang Siye prefect of Huazhou; by another account the new prefect of Huazhou was named Huang Ye. Acting on imperial authority, Wang Duo appointed Zhu Wen military governor of Tong and Hua; by another account he was appointed Grand General of the Left (or Right) Imperial Insignia Guard and deputy campaign commissioner of the Hezhong field army, and Xizong, on reading the memorial, said with delight, “Heaven has given him to me,” and bestowed on him the name Quanzhong. In the third month of the third year of Zhonghe Zhu Quanzhong was appointed military governor of Xuanwu, to take up the post once the capital was recovered; by another account he was appointed prefect of Bianzhou and military governor and surveillance commissioner of Xuanwu in the fifth month, receiving the name Quanzhong at that time.⁠[17][18][24][6][7]

Li Keyong’s Shatuo Army and the Abandonment of Chang’an

Li Keyong (856–908) was of Shatuo Turkic origin, with the original surname Zhuye, and was the third son of Zhuye Chixin, who had been given the name Li Guochang by the Tang and served as military governor of Zhenwu. Because one of his eyes was small he was called the One-Eyed Dragon; his elite troops wore black and were known as the Crow Army, and were feared in battle. After Huang Chao occupied Chang’an, Li Keyong answered the Tang court’s summons and marched south, with 10,000 men by one account; he defeated the Great Qi armies again and again and was credited with the foremost merit in recovering Chang’an, and in 883 he was made military governor of Hedong, with his seat at Taiyuan.⁠[25][26][26][26][19][24]

In the fourth month of the third year of Zhonghe (883), under attack from the Tang and Shatuo armies, the Great Qi abandoned Chang’an and Huang Chao led his forces away to the east, after holding the capital for about two years. Huang Chao’s men surrendered one after another, and when Li Keyong’s army entered Chang’an it set fire to the whole city, leaving it in ashes.⁠[14][1][10][2][11]

In the winter of the second year of Zhonghe Li Keyong reached Hezhong with 40,000 men and sent his cousin Li Kexiu across the river with 500 to probe the rebels. In the first month of the third year of Zhonghe his officer Li Cunzhen defeated Huang Kui at Shayuan. On the renzi day of the second month Li Keyong advanced to Qiankeng and joined the armies of Hezhong, Yi–Ding and Zhongwu; Shang Rang and others were encamped at Liangtian Slope with 150,000 men, and in a great battle the next day, from noon till late afternoon, the rebels were routed, losing tens of thousands killed or captured, their dead lying over thirty li; Huang Chao’s officers Wang Fan and Huang Kui then seized Huazhou by surprise and held it. By another account this battle was fought on the renshen day of the third month at Chengdian against rebel forces under Zhao Zhang and Shang Rang, who were pursued to Liangtianpo, where Wang Chongrong piled up their corpses as a victory mound; and in the second month the Shatuo attacked Huazhou, whose prefect Huang Ye fled and was hunted down and captured in the Shidi valley. On the renshen day of the third month Huang Chao sent Shang Rang with troops to relieve Huazhou; Li Keyong and Wang Chongrong met and broke them at Lingkou. Li Keyong advanced to the Wei Bridge, and every night his officers Xue Zhiqin and Kang Junli slipped into Chang’an to burn the stores and kill or capture rebels before returning, to the rebels’ great alarm. Beaten again and again and out of food, Huang Chao secretly planned to withdraw and sent 30,000 men to hold the Lantian road. In the fourth month Li Keyong, with the Zhongwu commander Pang Cong, the Hezhong commander Bai Zhiqian and others, led the advance and beat Huang Chao’s army three times in one day at Weinan; the armies of Yicheng, Yiwu and others followed and the rebels fled in disorder. On the jiachen day Li Keyong and the others entered Chang’an by the Guangtai Gate, and Huang Chao, unable to hold them off, burned the palaces and withdrew. By one account the government troops routed the rebels at the Wei Bridge on the gengzi day of the fourth month, Huang Chao gathered his remaining men and left by the Lantian Pass on the jimao day, and the capital was recovered on the gengchen day; by another the rebels were beaten at the Wei Bridge on the jiachen day and the capital recovered on the bingwu day. By yet another account Huang Chao burned Chang’an’s palaces, government offices and houses on the yisi day of the fourth month and led his remaining men east out of the Guangtai Gate and away through the Lantian Pass, the Tang armies recovering Chang’an the next day; even then his followers still numbered 150,000. Li Keyong was then twenty-eight, the youngest of the commanders, yet his merit in defeating Huang Chao and recovering Chang’an ranked first and his army was the strongest, and the other commanders all feared him.⁠[24][6][7]

In the fifth month of the third year of Zhonghe an imperial edict ordered that Cui Qiu, a man of noble family and high standing who had served as Huang Chao’s chief minister for three years without fleeing or going into hiding, be beheaded wherever he was found.⁠[24]

Retreat into Henan and the Siege of Chenzhou

After leaving Chang’an Huang Chao moved into Henan and then towards Shandong, and laid siege to Chenzhou. His army set up a works known as the “pounding and grinding camp”, where men, women and children alike were killed and their flesh made into rations for the army; by one account several hundred thousand people were eaten.⁠[4][1][14][19]

By another account the place where the rebels at Chenzhou obtained their rations was called the “pounding and milling stockade”. While Huang Chao was still in Chang’an, Zhao Chou of Wanqiu, prefect of Chenzhou, had told his officers that if Huang Chao did not die in Chang’an he would surely retreat east, Chenzhou would bear the brunt, and Huang Chao had always been the enemy of the Zhongwu army; so he repaired the walls and moats, readied weapons, stockpiled grain and fodder, moved everyone with stores of food within sixty li into the city, recruited brave men and put them under his younger brothers Zhao Chang and Zhao Xu and his sons Zhao Lu and Zhao Lin. After taking Caizhou, Meng Kai turned on Chenzhou and camped at Xiangcheng; Zhao Chou first feigned weakness, then struck when Meng Kai was off guard, wiping out almost his whole force, capturing Meng Kai alive and beheading him. Meng Kai was Huang Chao’s favourite commander; on hearing of his death Huang Chao was badly shaken—by another account enraged—and moved his whole army to the Yin River. In the sixth month Huang Chao and Qin Zongquan besieged Chenzhou together, digging five rings of trenches and attacking from a hundred directions. Zhao Chou told the people of Chenzhou that the Zhongwu army had always been known for its loyalty and courage and Chenzhou for its strong soldiers, that his own family had eaten the bread of Chenzhou for generations and had sworn to live or die with it, that men must seek life in the face of death, and that dying for one’s country was better than living as a subject of the rebels; anyone who disagreed would be beheaded. He led picked troops out through the gates again and again and beat the besiegers. Still angrier, Huang Chao encamped north of the city and built a palace and offices for all his officials, preparing for a long siege. The people had no stores left, so the rebels seized people as food, throwing them alive into pounding mortars and millstones and eating them bones and all, and called the place where rations were issued the “pounding and milling stockade”. They also sent troops raiding in every direction, and dozens of prefectures, from Henan prefecture to Xu, Ru, Tang, Deng, Meng, Zheng, Bian, Cao, Pu, Xu and Yan, suffered their ravages. By another account there was a great famine that year and the rebels ate their captives, the place where people were roasted was called the pounding and milling stockade, and white bones lay piled like hills; when the rebels pressed the siege hard, Shi Pu, military governor of Xuzhou, Zhou Ji of Xu prefecture (Xuchang) and Zhu Quanzhong of Bianzhou all sent troops to relieve Chenzhou.⁠[24][6]

Defeat at Wangmandu and Shang Rang’s Surrender

In the spring of 884 Huang Chao’s army suffered defeat after defeat at the hands of Li Keyong’s 50,000 men, and at Wangmandu (in present-day Zhongmou, Henan), between Zhengzhou and Kaifeng, it was routed by the government army under Zhu Wen; his leading commanders surrendered en masse and he could no longer fight on. In the sixth month even Shang Rang, who had joined Wang Xianzhi’s rising and then thrown in his lot with Huang Chao, surrendered to the government army led by the military governor of Wuning.⁠[19]

By another account it was Li Keyong who defeated Huang Chao at Wangmandu. In the second month of the fourth year of Zhonghe Li Keyong, military governor of Hedong, prepared to march to the relief of Chenzhou and Xu prefecture (Xuchang), and Zhuge Shuang, military governor of Heyang, blocked him at Zezhou; on the jiaxu day of the third month Li Keyong changed route, crossed the Yellow River southwards from Hezhong and went east down to Luoyang. On the jiayin day of the fourth month the Shatuo army reached Xu prefecture and joined forces with its military governor Zhou Ji and the army supervisor Tian Congyi; Shang Rang was then encamped at Taikang and Huang Ye at Xihua, with some stores of grain and fodder. On the jiwei day the Shatuo split up to attack the stockades at Taikang and Xihua, on the gengshen day Shang Rang and Huang Ye withdrew and the government troops took their stores, and Huang Chao too fell back to hold Yancheng. In the fifth month 5,000 rebel cavalry pressed on Daliang as far as Fantai and were driven back by the Xuanwu commanders Zhu Zhen of Feng and Pang Shigu of Nanhua, and Zhu Quanzhong again appealed to Li Keyong. On the bingyin day Li Keyong and the Zhongwu army supervisor Tian Congyi set out from Xu prefecture, and on the wuchen day they caught up with Huang Chao at Wangmandu north of Zhongmou, fell on his army as it was halfway across the river and routed it, killing more than 10,000; the rebel army then fell apart. Heavy rain that day left the flat ground under three feet of water and the rivers in flood, and nearly half the rebels were killed, wounded or drowned. Shang Rang surrendered with his men to Shi Pu, and the subordinate commanders Li Dang of Linjin, Huo Cun of Quzhou, Ge Congzhou of Juancheng and Zhang Guiba of Yuanqu with his younger brother Zhang Guihou surrendered with their men to Zhu Quanzhong. On the jisi day the Shatuo crossed the Bian River and made for Fengqiu, where Huang Chao and his brothers resisted with all their strength but were beaten by Li Keyong; the government troops recovered 50,000 captive men and women and more than 10,000 oxen and horses, together with some 30,000 items of the Great Qi’s imperial carriages and regalia, tallies and seals, treasure and weapons, and captured Huang Chao’s six-year-old young son. Huang Chao fled east with what was left of his men. On the gengwu day Li Keyong pursued him hard, covering 200 li in a day and a night and losing nearly half his horses to exhaustion, camped at Yuanqu, and, with his supplies unable to keep up and too few horsemen left, turned back. By another account Zhu Quanzhong defeated Huang Chao on the xinyou day of the fifth month and Li Keyong defeated him at Yuanqu on the xinwei day.⁠[24][6][7]

The Death of Huang Chao

Huang Chao fled towards his home region of Shandong and hid in the Langhu (“Wolf and Tiger”) valley on Mount Tai; he died in defeat near Mount Tai in the sixth month of the fourth year of Zhonghe (884), at Laiwu in Shandong. His nephew Lin Yan, a commander in his retinue, was with him to the end.⁠[10][19][2][1][14][27]

Accounts of his death differ. One says he asked Lin Yan to cut off his head and present it to the court in exchange for wealth and rank, and when Lin Yan refused, killed himself; another that he did die by his own hand, while Lin Yan was killed by a Shatuo soldier and both heads were delivered to the court; another that he was beheaded by his nephew Lin Yan; another that he was killed by his own followers; another that he was killed by Shang Rang, who had gone over to the Tang, and that his head was taken west; and yet another that he did not die but became a Buddhist monk.⁠[19][1][1][23][1][2][22][27][6]

On the gengchen day of the fifth month of the fourth year of Zhonghe the Xuzhou commanders Li Shiyue and Chen Jingsi pursued Huang Chao to Yanzhou with 10,000 men, and in the sixth month Zhu Xuan, military governor at Yunzhou, reported a great victory over the rebels at Hexiang. On the jiachen day of the sixth month the Wuning commander Li Shiyue and Shang Rang, who had already surrendered, chased Huang Chao to Xiaqiu and defeated him; with almost all his followers gone, Huang Chao fled to the Langhu valley, southeast of Mount Tai within the bounds of Laiwu. On the bingwu day Huang Chao’s nephew Lin Yan cut off the heads of Huang Chao, his brothers, his wife and his children and set out to bring them to Shi Pu, but on the way he met troops of the Shatuo and Boye armies, who took the heads from him, beheaded Lin Yan too, and presented the heads to Shi Pu. By one account Lin Yan cut off the heads of Huang Chao, Huang Kui and Huang Bing on the guiyou day of the seventh month and surrendered with them to Shi Pu: the Xuzhou commander Li Shiyue had fought the rebels at Xiaqiu, where they fought to the death and were almost wiped out, and Lin Yan and Huang Chao fled to Xiangwang village in the Langhu valley of Mount Tai, where Lin Yan, fearing the pursuers would catch them, killed Huang Chao and surrendered to Li Shiyue. By another account Shi Pu sent his officer Zhang You with Shang Rang’s men to hunt Huang Chao down in the Langhu valley, and Lin Yan cut off the heads of Huang Chao and seven others including his two younger brothers Huang Ye and Huang Kui and sent them, boxed with those of the wives and children, to Xuzhou. By yet another account Huang Chao, at the end of his road, told Lin Yan to take his head to the emperor and win wealth and rank rather than let someone else profit; Lin Yan, his sister’s son, could not bring himself to do it, so Huang Chao cut his own throat, but not fatally, and Lin Yan then beheaded him and set off with the head for Shi Pu, only for troops from Taiyuan and Boye to kill Lin Yan and present both heads. A further account has Huang Chao say the same words to his nephew Zhu Yanzhi on the Jieshan road; when the nephew could not bring himself to do it, Huang Chao cut his own throat and gave his head to the nephew, who was robbed of it on the road by Shatuo and Boye troops and killed, both heads being sent to the commander-in-chief’s camp.⁠[27][6]

On the renwu day of the seventh month Shi Pu sent envoys to present the heads of Huang Chao and his family, together with Huang Chao’s concubines, and Xizong received them in the Daxuan Tower over the main south gate of Chengdu’s outer wall. He asked the women: “You are all daughters of meritorious and noble houses who have received the dynasty’s favour for generations—why did you follow the rebel?” The foremost of them answered: “The mad rebel ran amok, and the state, with an army of a million, lost its ancestral temples and fled to Ba and Shu. Now Your Majesty blames one woman for failing to resist the rebel—where then do you place your ministers and generals?” The emperor asked no more and had them all executed in the marketplace. People pressed wine on them; the others, grief-stricken and terrified, drank themselves senseless, but the foremost woman neither drank nor wept and went to her death with composure. On the same day the report of victory reached the emperor’s camp and his attendant officials offered congratulations.⁠[27][6][7]

The Decline of the Tang and the Five Dynasties

The rising was put down in 884, after about ten years (eleven by one account); the fighting had engulfed almost all of China except Sichuan, from the Yellow River basin to Guangdong. The Tang owed its success chiefly to Zhu Wen, who had deserted Huang Chao, and to the Shatuo leader Li Keyong and others whom the court had brought in. The war destroyed Tang control: the court was left virtually powerless, the emperor a puppet manipulated by rival military leaders, and the military governors who had risen in suppressing the revolt grew ever stronger, so that in the 880s and 890s China broke up into virtually independent kingdoms.⁠[28][1][1][10][4][1]

After Huang Chao’s fall Qin Zongquan, who had earlier submitted to the Great Qi, proclaimed himself emperor in the third month of the first year of Guangqi and set up a full set of offices; by one account the exact year and month of his proclamation cannot be determined. He held Caizhou for several years and in the second month of the first year of Longji (889) was sent to Chang’an and beheaded at Duliu.⁠[27][29]

The war destroyed Chang’an, which was never again fit to be the capital of a later dynasty; it also devastated the foreign merchant communities and pushed population towards the south. The rising strengthened the spirit of subordinates overthrowing their superiors and hastened the collapse of the Tang as an ancient-style dynasty, bringing to a final end the aristocratic politics that had developed since the third century; the military rule of the Five Dynasties and Ten Kingdoms period grew directly out of it.⁠[5][1][1][1][1]

Zhu Quanzhong was made Prince of Liang in 901 and made Kaifeng his base; in 904 he killed Emperor Zhaozong and installed Emperor Ai as a puppet, and in the second year of Tianyou (905), at the Baima post station in Huazhou, he had the former chief minister Pei Shu and more than thirty other Tang officials killed and their bodies thrown into the Yellow River. In 907 he forced Emperor Ai to abdicate and took the throne himself, naming his state Great Liang (the Later Liang) and his reign Kaiping; so ended the Tang, after about 290 years and 20 emperors, and China entered the divided era of the Five Dynasties and Ten Kingdoms. Li Keyong, who contended with Zhu Quanzhong for supremacy for more than twenty years, died of illness in 908, and his eldest son, Li Cunxu, later overthrew the Later Liang and founded the Later Tang. China was not reunited until long after the founding of the Song dynastySong dynastyThe Song dynasty (960–1279) was the Chinese dynasty founded by Zhao Kuangyin, divided into the Northern Song (960–1127) and the Southern Song (1127–1279) and counting 18 emperors. The Northern Song capital was Bianjing (Kaifeng); after the Jingkang incident of 1127 the court moved south to Lin’an (now Hangzhou) and ruled only South China. Commerce grew to an unprecedented extent and the dynasty’s cultural achievements were rich and varied; it was ended in 1279 by the Mongol Yuan dynasty.Open the full entry.⁠[15][16][15][28][26][26][4]

The Founder: Huang Chao’s Background

Huang Chao was a native of Yuanqu in Caozhou, in present-day Shandong; Yuanqu is said to have been made a county under the Qin, and its exact location is still disputed, and his birthplace is also given as Chaoxian in Shandong. His year of birth is unknown; he died in 884. He came from a wealthy family of salt merchants, was skilled at riding and archery and wrote a fine hand, and was himself a salt smuggler with a large following of knights-errant. Well read, he sat the jinshi examinations several times without success, four times by one account, gave up hope of an official career and turned to salt smuggling; this is thought to have given him his resentment of aristocratic and bureaucratic rule and to have hardened his will to rebel against the corrupt Tang.⁠[22][19][10][23][23][1][1][1][9][6]

Huang Chao is said to have shown a gift for poetry at the age of five, and his poem “On the Chrysanthemum” is preserved in Zhang Duanyi’s Gui’er ji. After failing the examinations he wrote “Ode to the Chrysanthemum after Failing the Examination”, with a line picturing a heaven-piercing array of fragrance filling Chang’an, and then left the capital; the poem has been read as foreshadowing his later march into Chang’an at the head of an army.⁠[19][22]

Huang Chao’s younger brothers Huang Kui, Huang Siye (also written Huang Ye) and Huang Bing were all in the rebel army; by one account Huang Chao and Huang Kui rose together with eight brothers in all. Huang Siye was made prefect of Huazhou by Huang Chao in the second year of Zhonghe; by one account he fled when the Shatuo attacked Huazhou in the second month of the third year of Zhonghe and was hunted down and captured in the Shidi valley, though a rebel commander named Huang Ye was encamped at Xihua in the fourth month of the fourth year of Zhonghe. Huang Kui seized and held Huazhou with Wang Fan in the third year of Zhonghe. Huang Chao’s nephew Lin Yan stayed with him to the end. His wife, Lady Cao (by another account Lady Qu), was made empress of the Great Qi. He had a six-year-old young son, captured by Li Keyong at the battle of Fengqiu in the fifth month of the fourth year of Zhonghe. When Huang Chao fell, his brothers, wife and children were killed by Lin Yan; by one account the brothers who died with him were Huang Kui and Huang Bing, by another Huang Ye, Huang Kui and others.⁠[13][21][24][27][6]

Titles and the Ideal of Equality

Wang Xianzhi and Huang Chao both styled themselves “Great General of Equality”. In 878 Huang Chao took the title Heaven-Piercing Grand Guardian and Great General of Equality, with the reign name Wangba, and was also called the Heaven-Piercing Great General; at Guangzhou he styled himself Commander-in-Chief of the Righteous Army and issued a proclamation denouncing corrupt officials and profiteers; and on crossing the Huai in the march north he called himself Great General Who Assists Heaven to Equalise, meaning a general who helps Heaven do away with the gap between rich and poor and bring equality to the world.⁠[23][22][19][1][1][2][9][13][21]

Huang Chao’s ideas contained a notion of equality, and his ideal seems to have been a world of equal smallholding farmers. The rebels’ way of fighting, constantly on the move and striking at the enemy’s weak points, became the model for the later so-called roving bandits; from the late Tang on, salt smugglers regularly formed the core of anti-dynastic movements at the end of a dynasty.⁠[1][1][23]

At the start of his rising Wang Xianzhi called himself Generalissimo Who Supplies Heaven and Levels the Realm and Commander of the Heroes within the Seas, and sent proclamations to the circuits. By one account Huang Chao rose at Kuaiji in the first year of Qianfu and proclaimed the era Wangba. By one account Huang Chao submitted a memorial in the sixth month of the sixth year of Qianfu styling himself Commander of the Righteous Army of a Million and Surveillance Commissioner of Shao, Guang and other prefectures, and when the court sent the palace attendant Qiu Gongdu to Guangzhou with patents as military governor and surveillance commissioner, Huang Chao sent the patents back together with gifts. In the eleventh month of the first year of Guangming Qi Kerang informed the court that Huang Chao was using the title Generalissimo Who Supplies Heaven.⁠[9][13][21]

The Proclamation against Huang Chao

Choe Chiwon, who is said to have joined the government army on Gao Pian’s recommendation, wrote a proclamation against Huang Chao during this period. Gao Pian distributed it under his own name in the areas Huang Chao controlled; it became famous, but it did not stop the rebels, who ignored it. A popular story says Huang Chao was so startled on reading it that he fell from his seat, which is likely a later invention. Gao Pian claimed to the court that Huang Chao had an army of a million men, an exaggeration meant, by one account, to win credit for suppressing the rising.⁠[19]

Historical Records and Assessments

Of the main dynastic histories covering the rising, the Old Book of Tang was compiled in 940–945 and the New Book of Tang in 1043–1060. One view holds the Old Book of Tang to be more reliable than the New, which contains many errors and adds vivid dialogue and stories of heroic resistance not found in the older work. Some researchers argue that both histories cast events as a moral contest between loyal and treacherous officials and blame corrupt officials and evil bandits, obscuring the structural causes of the rising in extreme social instability and the heavy burdens on the peasants, and that their silence on the killing of the foreign merchants reflects the literati’s attitudes towards trade and foreigners.⁠[5][5][5]

The different accounts of Huang Chao’s end come from the annals of Xizong in the Old Book of Tang (killed by his nephew Lin Yan), the biography of Huang Chao in the New Book of Tang (suicide), the Dunhuang document known as the Suzhou Report (killed by Shang Rang) and chapter 17 of the Henan Shaoshi wenjian houlu by the Song writer Shao Bo (became a monk). The cache of manuscripts at the Mogao Caves of Dunhuang, among them the Suzhou Report, was discovered by the Daoist Wang Yuanlu in 1900.⁠[22][19][6][27]

Modern reference works generally describe the rising as a great peasant or popular revolt of the late Tang and see it as the chief turning point in the fall of the Tang and the collapse of aristocratic-bureaucratic rule; some list Huang Chao among the contending warlords of the late Tang. In 1938 Mao Zedong cited Huang Chao’s failure in his work on the strategic problems of guerrilla war against JapanJapanJapan is an island country in the northwestern Pacific Ocean east of the Asian continent, made up of the main islands of Honshu, Hokkaido, Kyushu, Shikoku and Okinawa and more than 14,000 smaller islands. It is a parliamentary cabinet system in which the emperor is the symbol of the state, it is divided into 47 prefectures, and its capital is Tokyo. The present Constitution of Japan was promulgated on November 3, 1946, and came into effect on May 3, 1947. The preliminary count of the 2025 census put the population at 123.05 million on October 1, 2025.Open the full entry, stressing that a rebel leader must stay connected with the people.⁠[1][1][23][19]

Sources29 sources

  1. 黄巣の乱 [Huang Chao Rebellion] (opens in a new window) (in Japanese)kotobank.jp↑
  2. 黄巣 [Huang Chao] (opens in a new window) (in Chinese)y-history.net↑
  3. Xizong (opens in a new window)britannica.com↑
  4. The struggle for central authority (opens in a new window)britannica.com↑
  5. Ending an Era: The Huang Chao Rebellion of the Late Tang, 874–884 (opens in a new window)eastwestcenter.org↑
  6. 舊唐書 卷十九 [Old Book of Tang, juan 19] (opens in a new window) (in Chinese)raw.githubusercontent.com↑
  7. 新唐書 卷九 [New Book of Tang, juan 9] (opens in a new window) (in Chinese)raw.githubusercontent.com↑
  8. 王仙芝 [Wang Xianzhi] (opens in a new window) (in Chinese)kotobank.jp↑
  9. 資治通鑑 卷二百五十二 [Zizhi Tongjian, juan 252] (opens in a new window) (in Chinese)raw.githubusercontent.com↑
  10. Huang Chao (opens in a new window)britannica.com↑
  11. 黄巣の乱 [Huang Chao Rebellion] (opens in a new window) (in Japanese)y-history.net↑
  12. 王仙芝 [Wang Xianzhi] (opens in a new window) (in Chinese)y-history.net↑
  13. 資治通鑑 卷二百五十三 [Zizhi Tongjian, juan 253] (opens in a new window) (in Chinese)raw.githubusercontent.com↑
  14. 黄巣の乱 [Revolt of Huang Ch’ao] (opens in a new window) (in Japanese)repository.kulib.kyoto-u.ac.jp↑
  15. 朱全忠 [Zhu Quanzhong] (opens in a new window) (in Chinese)kotobank.jp↑
  16. 朱全忠 [Zhu Quanzhong] (opens in a new window) (in Chinese)y-history.net↑
  17. 舊五代史 卷一 [Old History of the Five Dynasties, juan 1] (opens in a new window) (in Chinese)raw.githubusercontent.com↑
  18. 新五代史 卷一 [New History of the Five Dynasties, juan 1] (opens in a new window) (in Chinese)raw.githubusercontent.com↑
  19. 장안을 점령하고 태산에서 죽다 [He Took Chang’an and Died at Mount Tai] (opens in a new window) (in Korean)ohmynews.com↑
  20. 王鐸與晚唐政局——以討伐黃巢之亂為中心 [Wang To and Late T’ang Politics: Focus on the Suppression of the Huang Ch’ao Rebellion] (opens in a new window) (in Chinese)www1.ihp.sinica.edu.tw↑
  21. 資治通鑑 卷二百五十四 [Zizhi Tongjian, juan 254] (opens in a new window) (in Chinese)raw.githubusercontent.com↑
  22. 朱玉昌古典新詮》黃道吉日 黃巢霸業九月八 [Zhu Yuchang’s New Readings of the Classics: Auspicious Days, Huang Chao’s Bid for Power and the Eighth of the Ninth Month] (opens in a new window) (in Chinese)newtalk.tw↑
  23. 黄巣 [Huang Chao] (opens in a new window) (in Chinese)kotobank.jp↑
  24. 資治通鑑 卷二百五十五 [Zizhi Tongjian, juan 255] (opens in a new window) (in Chinese)raw.githubusercontent.com↑
  25. Li Keyong: Facts & Related Content (opens in a new window)britannica.com↑
  26. 李克用 [Li Keyong] (opens in a new window) (in Chinese)kotobank.jp↑
  27. 資治通鑑 卷二百五十六 [Zizhi Tongjian, juan 256] (opens in a new window) (in Chinese)raw.githubusercontent.com↑
  28. 唐 [Tang] (opens in a new window) (in Chinese)kotobank.jp↑
  29. 資治通鑑 卷二百五十八 [Zizhi Tongjian, juan 258] (opens in a new window) (in Chinese)raw.githubusercontent.com↑