Why Did the Sui Fall So Fast? The Rise of the Tang, 581–626
The Sui dynasty lasted only 37 years, yet it ended more than 250 years of division between north and south and left China the Grand Canal. From 612 its emperor launched three failed invasions of Goguryeo, and revolts spread until rival regimes carved up the empire. Li Yuan and his son Li Shimin came out on top, but founding the Tang in 618 was only the start: reuniting the whole country took another ten years.
How it happened
How it began: the price of unity
Yang Jian took the throne from the Northern Zhou in 581 and founded the Sui. In 589 his armies took Jiankang, the Chen capital, and reunified north and south. He reorganized the government, simplified the penal code and filled the state granaries. After Emperor Yang came to the throne in 604, he built an eastern capital at Luoyang and, between 605 and 610, a canal network centered on it. The canals tied the rich south to the northern centers of power, but they demanded huge levies of labor.
What was at stake: war abroad, revolt at home
From 612 Emperor Yang personally led three campaigns against Goguryeo. The Book of Sui puts the 612 army at 1,133,800 men, nominally two million, with twice as many hauling supplies; these are traditional figures, and modern historians think they are inflated. Defeat abroad and Yang Xuangan’s revolt in 613 shattered the court’s prestige, yet the levies went on. By the time the emperor left for Jiangdu in 616, the Wagang army was rising in Henan and Dou Jiande in Hebei. Whoever held the granaries, the canal and the Guanzhong basin around Chang’an had the best chance to pick up the pieces.
How it ended and what it left
Li Yuan rose at Taiyuan in 617 and entered Chang’an by the end of the year. In 618 Emperor Yang was killed at Jiangdu by officers led by Yuwen Huaji, and Li Yuan declared himself emperor of the Tang. Li Shimin then defeated Xue Rengao and Liu Wuzhou, and in 621 captured Dou Jiande at Hulao, forcing Wang Shichong to surrender. After the Xuanwu Gate Incident of 626 he became Emperor Taizong, though the last rival, Liang Shidu, fell only in 628. The Tang kept the Sui canals, capitals and many institutions, which is why the Sui is often said to have paved the way for the Tang.
Timeline
Yang Jian founds the SuiPolitics
Yang Jian, father-in-law of a Northern Zhou emperor, first ran the court as regent and then took the throne in 581 as Emperor Wen of Sui. The north now stood under one stable dynasty, ready to turn south against the Chen.
Sui conquers the Chen and reunifies ChinaWar
Sui armies crossed the Yangtze and took Jiankang, capturing the last Chen ruler, Chen Shubao. For the first time since the fall of the Western Jin, north and south were ruled by a single dynasty.
The Grand Canal is dugSociety
Emperor Yang opened the Tongji Canal, then the Yongji Canal running north toward Zhuo commandery in 608, and the Jiangnan Canal in 610. The Luoyang-centered network moved southern grain north and later carried troops and supplies for the Goguryeo wars.
First invasion of GoguryeoWar
The main Sui army stalled before Liaodong city, while a strike force of about 300,000 under Yu Zhongwen and Yuwen Shu marched on Pyongyang and was cut to pieces by Eulji Mundeok at the Salsu River on its retreat. Tradition says only 2,700 made it back, and the disaster shook the dynasty.
Yang Xuangan rebelsWar
During the second campaign, Yang Xuangan, a minister and son of the great statesman Yang Su, rose at Liyang and marched on Luoyang, forcing the emperor to abandon the invasion. The revolt was crushed, but it showed that even the leading families had turned; his strategist Li Mi escaped to become a rebel leader himself.
The emperor goes south; the Wagang army growsWar
In 616 the emperor left Luoyang for Jiangdu and never came back north. Li Mi joined Zhai Rang’s Wagang army, seized the great Luokou granary and opened it to the hungry, then in 617 had Zhai Rang killed and took sole command.
Li Yuan rises at Taiyuan and takes Chang’anWar
Li Yuan, the Sui commander at Taiyuan, rose in revolt after first buying peace with Shibi Khagan of the Eastern Turks to secure his northern flank. By the end of 617 he held Chang’an, where he enthroned the emperor’s grandson Yang You and ruled as regent with the title Prince of Tang.
Emperor Yang is killed; the Tang is foundedPolitics
In spring 618 Emperor Yang was killed at Jiangdu by guard officers under Yuwen Huaji. That summer Yang You abdicated and Li Yuan became Emperor Gaozu of Tang, while officials in Luoyang enthroned another Sui prince, Yang Tong, so the empire still had several claimants.
Wang Shichong defeats Li Mi and takes the throneWar
In 618 the Sui general Wang Shichong crushed Li Mi at Yanshi; Li Mi fled to the Tang, rebelled again and was killed in 619. That year Wang deposed Yang Tong and made himself emperor of Zheng at Luoyang, becoming the Tang’s main rival in the east.
Battle of HulaoWar
While Li Shimin besieged Luoyang, Dou Jiande marched to its relief with more than 100,000 men. Li Shimin held the Hulao Pass with a small force, waited more than a month, then attacked and captured Dou; Wang Shichong surrendered days later, and the middle and lower Yellow River fell to the Tang.
The Xuanwu Gate IncidentPolitics
Li Shimin, Prince of Qin, laid an ambush at the Xuanwu Gate of the palace in Chang’an, shot dead his elder brother, Crown Prince Li Jiancheng, while his officer Yuchi Jingde killed their brother Li Yuanji. Within three days Li Shimin was named heir, and about two months later his father abdicated in his favor.
The Turks reach the Wei RiverDiplomacy
Less than three weeks after Taizong took the throne, Illig (Jieli) Khagan of the Eastern Turks brought his army to the north bank of the Wei River, close to Chang’an. Taizong parleyed across the river and paid for a withdrawal; four years later, in 630, Tang armies under Li Jing crushed the Eastern Turks and the khagan was captured.
Key figures
Yang Jian (Emperor Wen of Sui)
楊堅(隋文帝) · 541–604Founder of the Sui; reunified China in 589
He seized power from the Northern Zhou and conquered the Chen in 589, ending centuries of division. He reorganized the government and laws and began the canal works, leaving his son a well-stocked treasury.
Yang Guang (Emperor Yang of Sui)
楊廣(隋煬帝) · 569–618Second Sui emperor; built canals and invaded Goguryeo
He built Luoyang, dug the Grand Canal and led three invasions of Goguryeo, and the scale of his demands finally broke the empire. Tang historians cast him as the model tyrant, yet the Tang went on using his canals and eastern capital.
Li Mi
李密 · 582–619Yang Xuangan’s strategist, later leader of the Wagang army
Seizing the Luokou granary made him, for a time, the strongest rebel in the empire, but he never took Luoyang. Beaten by Wang Shichong in 618, he went over to the Tang and was killed after rebelling again in 619.
Dou Jiande
竇建德 · 573–621Rebel king of Xia who ruled most of Hebei
A Hebei farmer by origin, he was known for generosity and fair treatment of surrendered officials, and many Sui officers came over to him. Marching to save Luoyang in 621, he was captured by Li Shimin at Hulao and later executed in Chang’an.
Wang Shichong
王世充 · ?–621Sui general who ruled Luoyang as emperor of Zheng
He made his name defending Luoyang, defeated Li Mi in 618 and deposed the Sui prince Yang Tong to take the throne in 619. After Dou Jiande’s defeat in 621 he surrendered the city and was killed on his way into exile.
Li Yuan (Emperor Gaozu of Tang)
李淵(唐高祖) · 566–635Founding emperor of the Tang
A Sui aristocrat in command at Taiyuan, he rose in 617 and proclaimed the Tang in 618. Traditional histories credit his second son Li Shimin with pushing him to revolt, but modern scholars generally see the decision as Li Yuan’s own.
Li Shimin (Emperor Taizong of Tang)
李世民(唐太宗) · 598–649Tang’s chief general; took the throne after the Xuanwu Gate
He led the Tang armies that defeated Xue Rengao, Liu Wuzhou, Dou Jiande and Wang Shichong, making him the central figure of the wars of reunification. He seized the throne in the Xuanwu Gate Incident of 626, and his Zhenguan reign became a model of good government for later ages.
Li Jiancheng
李建成 · 589–626Li Yuan’s eldest son and first Tang crown prince
He also commanded troops during the rising and the reunification wars, helping to finish off Liu Heita in 622–623. Shot dead by his brother Li Shimin at the Xuanwu Gate in 626, he is portrayed harshly in histories compiled under Taizong, which may reflect the winner’s view.
What would you do?
Pick an option to see what each path risked, and what was really decided.
Dou Jiande, spring 621
Do you force a battle at Hulao, or strike somewhere else?
Since autumn 620 the Tang prince Li Shimin has been besieging Luoyang, and its ruler Wang Shichong begged you for help. You marched west with more than 100,000 men, but Li Shimin has blocked you at the Hulao Pass: skirmishes have gone badly, your supply lines are being raided and your men want to go home. Your adviser Ling Jing urges you to cross the Yellow River, take Huaizhou and Heyang, then go over the Taihang Mountains into Shangdang and threaten Tang lands in Hedong (Shanxi) and Guanzhong, forcing the Tang to lift the siege.
What actually happened: Dou rejected the advice of Ling Jing and of his wife, Lady Cao, and stayed to seek battle at Hulao. In May 621 he deployed his whole army; Li Shimin waited until its lines tired, then attacked. Dou was wounded and captured, Wang Shichong surrendered, and Dou was later executed in Chang’an.
Li Shimin, Prince of Qin, summer 626
Your commanders are about to be taken from you. What do you do?
Your brothers, Crown Prince Li Jiancheng and Li Yuanji, are squeezing you out: your advisers Fang Xuanling and Du Ruhui have been expelled from your household, and your general Cheng Zhijie posted to a distant province. With the Turks raiding, Jiancheng has had Yuanji named to lead the northern campaign in your place, and Yuanji wants to take Yuchi Jingde, Qin Shubao and your other commanders with him. Your father once offered to send you to govern from Luoyang, then dropped the idea when your brothers objected.
What actually happened: On 2 July 626 Li Shimin, with Zhangsun Wuji, Yuchi Jingde and others, ambushed and killed Li Jiancheng and Li Yuanji at the Xuanwu Gate. He was named crown prince three days later and became emperor about two months after that. Modern historians note that the official record of these years was compiled under Taizong himself and may tilt in his favor.
Quiz: how well do you know this era?
Six questions, each explained as you answer.
In which year did the Sui conquer the Chen and reunify China?
589 — Sui armies took the Chen capital Jiankang in 589. 581 is the founding of the Sui, and 618 the founding of the Tang.
Who led the Wagang army and seized the Luokou granary?
Li Mi — Li Mi, once Yang Xuangan’s strategist, rose to lead the Wagang army after Zhai Rang.
Where was Emperor Yang killed in 618?
Jiangdu (modern Yangzhou) — He went south to Jiangdu in 616, never returned, and was killed there by guard officers under Yuwen Huaji in 618.
Whom did Li Shimin capture at the Battle of Hulao in 621?
Dou Jiande — Dou Jiande was captured at Hulao while marching to relieve Luoyang; Wang Shichong surrendered the city afterwards rather than being taken in battle.
Where did Li Yuan launch his revolt in 617?
Taiyuan (Jinyang) — Li Yuan was the Sui commander at Taiyuan; he rose at Jinyang and only reached Chang’an at the end of the year.
Who were killed in the Xuanwu Gate Incident of 626?
Li Jiancheng and Li Yuanji — Li Shimin killed his elder brother, Crown Prince Li Jiancheng, and his younger brother Li Yuanji, then became heir and emperor.
Play this era
Sword & State: Sui–Tang
From the 612 Goguryeo campaign to the Xuanwu Gate in 626, contend for the empire among the rebels of late Sui.
Free public test: sign in with a free account to play.
Questions people ask
How long did the Sui dynasty last?
The Sui lasted 37 years, from Yang Jian’s accession in 581 to Emperor Yang’s death and the founding of the Tang in 618. Only two emperors, Wen and Yang, actually ruled. Short as it was, it reunified China and left lasting works such as the Grand Canal and the eastern capital at Luoyang.
When was the Tang dynasty founded?
The Tang was founded in 618, when Li Yuan took the throne in Chang’an from the boy emperor Yang You. Rival regimes still held Luoyang, Hebei and other regions, so the Tang only controlled the Central Plain after the Battle of Hulao in 621 and reunified the whole country when Liang Shidu fell in 628.
What was the Xuanwu Gate Incident?
The Xuanwu Gate Incident was the coup of 2 July 626 in which Li Shimin ambushed and killed his brothers, Crown Prince Li Jiancheng and Li Yuanji, at the north gate of the palace in Chang’an. Their father, Emperor Gaozu, then made Li Shimin heir and abdicated about two months later. It settled a bitter succession struggle among the founder’s sons.
Did Emperor Yang really send over a million men against Goguryeo?
The Book of Sui gives 1,133,800 men for the 612 expedition, nominally two million, but that is the traditional figure. Modern historians generally think the real number was smaller; one estimate puts it at about 670,000. Whatever the exact size, the mobilization was unprecedented and its failure enormously costly.
Why did the Sui collapse so quickly?
Most historians point to the speed and scale of its demands: great building projects and foreign wars, one after another, imposed more conscription and forced labor than the population could bear. After three failed Goguryeo campaigns in 612–614, peasant revolts and aristocratic risings spread, and Yang Xuangan’s rebellion of 613 showed the elite itself was deserting. When the emperor moved south to Jiangdu in 616, the north was left without a center and rivals carved it up.
Sources and further reading
Dates follow the sources listed; where they disagree, the text says so.
- Transition from Sui to Tang (Wikipedia)
- Goguryeo–Sui War (Wikipedia)
- Battle of Hulao (Wikipedia)
- Xuanwu Gate Incident (Wikipedia)
- 唐高祖(維基百科)
- 隋唐大運河(維基百科)
- 《隋書》卷四〈煬帝紀下〉(維基文庫)
- 《資治通鑑》卷一百九十一(維基文庫)
Updated 2026-12-02