Chinese History Timeline日本語
618
Dynasty

Li Yuan Founds the Tang

Li Yuan, regent of Taiyuan, took advantage of the chaos at the end of the Sui to raise an army in 617 and soon took Chang’an, at first installing Emperor Yang’s grandson as emperor to keep up the appearance of Sui rule. But in 618, on news that Emperor Yang had been killed at Jiangdu, he took the throne himself, naming his dynasty Tang with its capital at Chang’an. Rival warlords such as Wang Shichong and Dou Jiande were still strong, and it took several more years to subdue them and truly unify China. In these wars his second son Li Shimin fought across the land and won great distinction — foreshadowing the later struggle for the succession.

In a nutshell
  1. In 618, Li Yuan, the Sui governor of Taiyuan, took the throne as emperor at Chang’an and founded the Tang (Emperor Gaozu).
  2. He had risen the year before, and seizing the capital Chang’an ahead of the revolts elsewhere was the key to his success.
  3. His second son Li Shimin defeated the rival warlords one after another and unified the realm, then in 626 overthrew his brothers to become the second emperor (Taizong). The Tang lasted about 290 years.

How the Tang was founded

  1. Fifth month, 617
    As Emperor Yang moves to Jiangdu and revolts spread, Li Yuan, regent of Taiyuan, rises in arms. He makes terms with the Turks to the north to secure his rear
  2. Eleventh month, 617
    Setting out with 30,000 men, Li Yuan’s army swells to 200,000 and takes Chang’an. He installs Emperor Yang’s grandson Yang You as emperor (Emperor Gong)
  3. Third month, 618
    At Jiangdu, Emperor Yang is killed by his subordinate Yuwen Huaji
  4. Fifth month, 618
    Li Yuan receives the throne from Emperor Gong, naming his dynasty “Tang” and his era “Wude”
  5. 618–624
    Li Shimin defeats Xue Ju, Liu Wuzhou, Wang Shichong, Dou Jiande and others, unifying the realm
  6. 626
    The Xuanwu Gate Incident. Li Shimin kills his elder brother, the crown prince Li Jiancheng, and his younger brother Li Yuanji. Li Yuan abdicates, and Li Shimin takes the throne (Taizong)
Taiyuan (where he rose)Chang’anLuoyang (Wang Shichong)
Li Yuan’s rising and march on Chang’an (617, approximate)

Why could the Tang win the realm?

  • He took the capital first: While other warlords fought over Luoyang and elsewhere, Li Yuan secured Guanzhong and Chang’an, gaining the Sui granaries and legitimacy.
  • A distinguished lineage: The Li were a great family since the Northern Zhou (Guanlong aristocracy), and Li Yuan was Emperor Yang’s maternal cousin. It was easy to win over Sui officials and soldiers.
  • Li Shimin’s military genius: At the Battle of Hulao Pass in 620–621, he defeated Dou Jiande’s great army, which had come to rescue Wang Shichong, bringing two powerful enemies to submit at once.
  • Generous treatment: He pardoned and employed surrendered enemies and Sui officials, winning popular support.
The Tang emperor as “Heavenly Qaghan”
The Li clan is thought to have had nomadic blood from the north, and much nomadic culture entered the Tang court. Having subdued the Eastern Turks in 630, Taizong was given the title “Heavenly Qaghan” by the nomad chiefs, becoming at once emperor of China and king of the nomads.

Read next

Frequently asked questions

When was the Tang founded?
In 618, when Li Yuan (Emperor Gaozu) took the throne at Chang’an. It lasted about 290 years, until 907.
What was the Xuanwu Gate Incident?
The incident in 626 in which Li Shimin killed his elder brother, the crown prince, and his younger brother at the Xuanwu Gate of the Chang’an palace. Li Shimin then became crown prince and soon took the throne as Taizong.

Updated: · Main sources: Old Book of Tang, annals of Gaozu and Taizong; Diary of the Founding of the Great Tang

Sites & Buildings

Daming Palace Site
Daming Palace Site
Ruins of a vast palace in Chang’an, begun as a detached palace for Gaozu and later expanded into the main palace of the Tang emperors; now a national archaeological park and a component of a World Heritage Site.
Photo: Xiquinho Silva / Wikimedia Commons (CC BY)

Key Figures

Emperor Gaozu of Tang (Li Yuan)
Founder of the Tang. Rising amid the chaos of the late Sui, he took Chang’an and became emperor in 618, opening the Tang dynasty.
Wikimedia Commons (public domain)