Emperor Gaozu of Tang
Encyclopedia
Emperor Gāozǔ of Táng born Lǐ Yuān (李淵), courtesy name Shūdé (叔德), was the founder of the Tang Dynasty
Tang Dynasty
The Tang Dynasty was an imperial dynasty of China preceded by the Sui Dynasty and followed by the Five Dynasties and Ten Kingdoms Period. It was founded by the Li family, who seized power during the decline and collapse of the Sui Empire...

 of China
China
Chinese civilization may refer to:* China for more general discussion of the country.* Chinese culture* Greater China, the transnational community of ethnic Chinese.* History of China* Sinosphere, the area historically affected by Chinese culture...

, and the first emperor of this dynasty from 618 to 626. Under the Sui dynasty
Sui Dynasty
The Sui Dynasty was a powerful, but short-lived Imperial Chinese dynasty. Preceded by the Southern and Northern Dynasties, it ended nearly four centuries of division between rival regimes. It was followed by the Tang Dynasty....

, Li Yuan was the governor in the area of modern-day Shanxi
Shanxi
' is a province in Northern China. Its one-character abbreviation is "晋" , after the state of Jin that existed here during the Spring and Autumn Period....

, and was based in Taiyuan
Taiyuan
Taiyuan is the capital and largest city of Shanxi province in North China. At the 2010 census, it had a total population of 4,201,591 inhabitants on 6959 km² whom 3,212,500 are urban on 1,460 km². The name of the city literally means "Great Plains", referring to the location where the Fen River...

.

In 615, Li Yuan was assigned to garrison Longxi. He gained much experience by dealing with the Göktürks
Göktürks
The Göktürks or Kök Türks, were a nomadic confederation of peoples in medieval Inner Asia. Known in Chinese sources as 突厥 , the Göktürks under the leadership of Bumin Qaghan The Göktürks or Kök Türks, (Old Turkic: Türük or Kök Türük or Türük; Celestial Turks) were a nomadic confederation of...

 of the north and was able to pacify them. Li Yuan was also able to gather support from these successes and, with the disintegration of the Sui dynasty in July of 617, Li Yuan - urged on by his second son Li Shimin
Emperor Taizong of Tang
Emperor Taizong of Tang , personal name Lǐ Shìmín , was the second emperor of the Tang Dynasty of China, ruling from 626 to 649...

 (the eventual Emperor Taizong) - rose in rebellion. Using the title of "Great Chancellor" (大丞相), Li Yuan installed a puppet child emperor, Emperor Gong
Emperor Gong of Sui
Emperor Gong of Sui , personal name Yang You , was an emperor of the Chinese Sui Dynasty. Traditionally, he was considered the last emperor of the dynasty because he was the one who formally yielded the throne to the founding emperor to the succeeding Tang Dynasty, Emperor Gaozu of Tang ,...

, but eventually removed him altogether and established the Tang Dynasty in 618 as Emperor. His son and successor Li Shimin honoured him as Gaozu ("high founder") after his death.

Emperor Gaozu's reign was concentrated on uniting the empire under the Tang. Aided by Li Shimin (李世民), whom he created the Prince of Qin, he defeated all the other contenders, including Li Gui
Li Gui
Li Gui , courtesy name Chuze , was the emperor of a short-lived state of Liang, which he established at the end of the Chinese Sui Dynasty. He governed the parts of modern Gansu west of the Yellow River...

, Dou Jiande
Dou Jiande
Dou Jiande was a leader of the agrarian rebels who rose against the rule of Emperor Yang of Sui near the end of the Chinese dynasty Sui Dynasty...

, Wang Shichong
Wang Shichong
Wang Shichong , courtesy name Xingman , was a general of the Chinese Sui Dynasty who deposed Sui's last emperor Yang Tong and briefly ruled as the emperor of a succeeding state of Zheng...

, Xue Rengao
Xue Rengao
Xue Rengao , also known as Xue Renguo , was an emperor of the short-lived state of Qin, established by his father Xue Ju at the end of the Chinese dynasty Sui Dynasty...

 and Liu Wuzhou
Liu Wuzhou
Liu Wuzhou was a rebel leader who rose against the rule of the Chinese dynasty Sui Dynasty late in the dynasty's history, and he took imperial style -- although it was not completely clear whether the title he took was khan or tianzi...

. By 628, the Tang Dynasty had succeeded in uniting all of China. On the home front, he recognized the early successes forged by Emperor Wen of Sui
Emperor Wen of Sui
Emperor Wen of Sui — personal name Yang Jian , Xianbei name Puliuru Jian , nickname Naluoyan — was the founder and first emperor of China's Sui Dynasty . He was a hard-working administrator and a micromanager. As a Buddhist, he encouraged the spread of Buddhism through the state...

 and strove to emulate most of Emperor Wen's policies, including the equal distribution of land amongst his people, and he also lowered taxes. He abandoned the harsh system of law established by Emperor Yang of Sui
Emperor Yang of Sui
Emperor Yang of Sui , personal name Yang Guang , alternative name Ying , nickname Amo , known as Emperor Ming during the brief reign of his grandson Yang Tong), was the second son of Emperor Wen of Sui, and the second emperor of China's Sui Dynasty.Emperor Yang's original name was Yang Ying, but...

 as well as reforming the judicial system. These acts of reform paved the way for the reign of Emperor Taizong, which ultimately pushed Tang to the height of its power.

In 626, Li Shimin, in a dispute with his brothers Li Jiancheng
Li Jiancheng
Li Jiancheng , formally Crown Prince Yin , nickname Pishamen , was a crown prince of the Chinese dynasty Tang Dynasty. He was the oldest son of the founding emperor Emperor Gaozu and therefore was designated crown prince after the founding of the dynasty in 618...

 the Crown Prince and Li Yuanji
Li Yuanji
Li Yuanji , formally Prince La of Chao , more commonly known by the title of Prince of Qi , nickname Sanhu , was an imperial prince of the Chinese Tang Dynasty...

 the Prince of Qi, ambushed Li Jiancheng and Li Yuanji at Xuanwu Gate
Incident at Xuanwu Gate
The Incident at Xuanwu Gate refers to an incident on July 2, 626, when Li Shimin the Prince of Qin, a son of Emperor Gaozu of Tang , in an intense rivalry with his older brother Li Jiancheng the Crown Prince and fearing that Li Jiancheng was about to kill him, set an ambush at Xuanwu Gate, the...

, killing them. Fearful of what Li Shimin might do next, Emperor Gaozu passed the throne to him and became Taishang Huang
Taishang Huang
Retired Emperor, Grand Emperor, or Emperor Emeritus is a title occasionally used throughout East Asian feudal regimes for former emperors who had abdicated voluntarily to their sons. This title appeared in the history of China, Japan, Korea, and Vietnam...

(retired emperor). He died in 635.

Background and early career

Li Yuan's seventh-generation ancestor was Li Gao
Li Gao
Li Gao , courtesy name Xuansheng , nickname Changsheng , formally Prince Wuzhao of Liang , was the founding duke of the Chinese state Western Liáng...

, the founder of the Sixteen Kingdoms
Sixteen Kingdoms
The Sixteen Kingdoms, or less commonly the Sixteen States, were a collection of numerous short-lived sovereign states in China proper and its neighboring areas from 304 to 439 AD after the retreat of the Jin Dynasty to South China and before the establishment of the Northern Dynasties...

 state Western Liang
Western Liang
The Western Liang was a state of the Sixteen Kingdoms in China. It was founded by the Li family of the Han Chinese. The founder of the Tang Dynasty, Li Yuan , traced his ancestry to the Western Liang rulers....

. After Western Liang's destruction, Li Gao's grandson Li Chong'er (李重耳) served as a Northern Wei
Northern Wei
The Northern Wei Dynasty , also known as the Tuoba Wei , Later Wei , or Yuan Wei , was a dynasty which ruled northern China from 386 to 534 . It has been described as "part of an era of political turbulence and intense social and cultural change"...

 official, but for several generations after that, Li Yuan's ancestors had only minor military titles. Li Yuan's grandfather Li Hu (李虎) served as a major general under Western Wei
Western Wei
The Western Wei Dynasty followed the disintegration of the Northern Wei, and ruled northern China from 535 to 556.After the Xianbei general Yuwen Tai killed the Northern Wei emperor Yuan Xiu, he installed Yuan Baoju as emperor of Western Wei while Yuwen Tai would remain as the virtual ruler...

's paramount general Yuwen Tai
Yuwen Tai
Yuwen Tai , nickname Heita , formally Duke Wen of Anding , later further posthumously honored by Northern Zhou initially as Prince Wen then as Emperor Wen with the temple name Taizu , was the paramount general of the Chinese/Xianbei state Western Wei, a branch successor state of Northern Wei...

, and was created the Duke of Longxi and given the Xianbei
Xianbei
The Xianbei were a significant Mongolic nomadic people residing in Manchuria, Inner Mongolia and eastern Mongolia. The title “Khan” was first used among the Xianbei.-Origins:...

 surname Daye (大野). Li Hu died before Yuwen Tai's son Emperor Xiaomin of Northern Zhou
Emperor Xiaomin of Northern Zhou
Emperor Xiaomin of Northern Zhou , personal name Yuwen Jue , nickname Tuoluoni , was an emperor of the Chinese/Xianbei dynasty Northern Zhou Emperor Xiaomin of Northern Zhou ((北)周孝閔帝) (542–557), personal name Yuwen Jue (宇文覺), nickname Tuoluoni (陀羅尼), was an emperor of the Chinese/Xianbei dynasty...

 founded Northern Zhou
Northern Zhou
The Northern Zhou Dynasty followed the Western Wei, and ruled northern China from 557 to 581. It was overthrown by the Sui Dynasty.Northern Zhou's basis of power was established by Yuwen Tai, who was paramount general of Western Wei, following the split of Northern Wei into Western Wei and...

, but was posthumously created the Duke of Tang after Northern Zhou's founding. His son and Li Yuan's father Li Bing (李昺) inherited the title of the Duke of Tang and married a daughter of the prominent general Dugu Xin (獨孤信). Li Bing died in 572, and Li Yuan inherited the title of Duke of Tang, a title he continued to hold after the throne was seized by Emperor Wen of Sui
Emperor Wen of Sui
Emperor Wen of Sui — personal name Yang Jian , Xianbei name Puliuru Jian , nickname Naluoyan — was the founder and first emperor of China's Sui Dynasty . He was a hard-working administrator and a micromanager. As a Buddhist, he encouraged the spread of Buddhism through the state...

 (Yang Jian) in 581, establishing Sui Dynasty
Sui Dynasty
The Sui Dynasty was a powerful, but short-lived Imperial Chinese dynasty. Preceded by the Southern and Northern Dynasties, it ended nearly four centuries of division between rival regimes. It was followed by the Tang Dynasty....

, as Emperor Wen's wife, Empress Dugu Qieluo
Empress Dugu Qieluo
Empress Dugu Qieluo , formally Empress Wenxian , was an empress of the Chinese dynasty Sui Dynasty...

, was an aunt of his. At some point, he married Lady Dou, a daughter of Dou Yi (竇毅) the Duke of Shenwu and Northern Zhou's Princess Xiangyang (Yuwen Tai's daughter) as his wife and duchess.

During Emperor Wen's reign (581-606), Li Yuan served three terms as provincial governors. Early in the reign of Emperor Wen's son Emperor Yang
Emperor Yang of Sui
Emperor Yang of Sui , personal name Yang Guang , alternative name Ying , nickname Amo , known as Emperor Ming during the brief reign of his grandson Yang Tong), was the second son of Emperor Wen of Sui, and the second emperor of China's Sui Dynasty.Emperor Yang's original name was Yang Ying, but...

, Li Yuan served as commandery governors (as Emperor Yang converted provinces into commanderies), but was later recalled to serve as a junior minister within Emperor Yang's administration. When Emperor Yang carried out his second campaign against Goguryeo
Goguryeo
Goguryeo or Koguryŏ was an ancient Korean kingdom located in present day northern and central parts of the Korean Peninsula, southern Manchuria, and southern Russian Maritime province....

 in 613, Li Yuan was in charge of part of the logistics operation, when the general Yang Xuangan
Yang Xuangan
Yang Xuangan was an official of the Chinese dynasty Sui Dynasty. He was the son of the powerful official Yang Su, and, as he knew that Emperor Yang was apprehensive of his father, was never quite secure. In 613, when Emperor Yang was attacking Goguryeo, he rebelled near the eastern capital...

 rebelled near the eastern capital Luoyang
Luoyang
Luoyang is a prefecture-level city in western Henan province of Central China. It borders the provincial capital of Zhengzhou to the east, Pingdingshan to the southeast, Nanyang to the south, Sanmenxia to the west, Jiyuan to the north, and Jiaozuo to the northeast.Situated on the central plain of...

. Emperor Yang commissioned Li Yuan as a general and made him be in charge of the operations west of the Tong Pass, although Yang Xuangan's rebellion eventually did not involve that region. Li Yuan took the opportunity to recruit talented people to his staff. Later that year, when Emperor Yang summoned him, he declined based on the reason of illness—a reason that Emperor Yang did not believe, as he questioned Li Yuan's niece, a Consort Wang (Emperor Yang's concubine), "Will he die?" In fear, Li Yuan took up drinking and receiving bribes to try to show Emperor Yang that he did not have great ambitions. In 615, Emperor Yang made him in charge of the operations against agrarian rebels in the Hedong (河東) region (roughly modern Shanxi
Shanxi
' is a province in Northern China. Its one-character abbreviation is "晋" , after the state of Jin that existed here during the Spring and Autumn Period....

), but recalled him in 616. Later that year, Emperor Yang put him in charge of the key city of Taiyuan (太原, in modern Taiyuan
Taiyuan
Taiyuan is the capital and largest city of Shanxi province in North China. At the 2010 census, it had a total population of 4,201,591 inhabitants on 6959 km² whom 3,212,500 are urban on 1,460 km². The name of the city literally means "Great Plains", referring to the location where the Fen River...

, Shanxi
Shanxi
' is a province in Northern China. Its one-character abbreviation is "晋" , after the state of Jin that existed here during the Spring and Autumn Period....

).

Rebellion against Emperor Yang of Sui

Emperor Yang , with Li Yuan and Wang Rengong (王仁恭), the governor of Mayi Commandery (馬邑, roughly modern Shuozhou
Shuozhou
Shuozhou is a city in the north of Shanxi Province in North China, located on the upper reaches of the Fen River. As of 2004, its population is approximately 1.25 million, and the city has an area of approximately 5,737 square kilometres. Administratively, Shuozhou is a prefecture-level city, with...

, Shanxi
Shanxi
' is a province in Northern China. Its one-character abbreviation is "晋" , after the state of Jin that existed here during the Spring and Autumn Period....

), over their inability to stop Eastern Tujue incursions and the growing strengths of agrarian rebels, particularly the Eastern Tujue-support Liu Wuzhou
Liu Wuzhou
Liu Wuzhou was a rebel leader who rose against the rule of the Chinese dynasty Sui Dynasty late in the dynasty's history, and he took imperial style -- although it was not completely clear whether the title he took was khan or tianzi...

 the Dingyang Khan, who soon rose against Wang and killed him and soon captured Emperor Yang's secondary palace near Taiyuan. Li Yuan also became fearful that there had been prophecies throughout the empire that the next emperor would be named Li—and that Emperor Yang had killed another official, Li Hun (李渾) and Li Hun's clan over his fears that Li Hun's nephew Li Min (李敏, the son-in-law of Emperor Yang's sister Yang Lihua
Empress Yang Lihua
Empress Yang Lihua was an empress of the Chinese/Xianbei dynasty Northern Zhou, and later a princess of Sui Dynasty. Her husband was Emperor Xuan of Northern Zhou , and her father was Emperor Wen of Sui ....

 the Princess Leping) had imperial ambitions.

Meanwhile, Li Yuan's second son, by his wife Duchess Dou (who had died earlier), Li Shimin
Emperor Taizong of Tang
Emperor Taizong of Tang , personal name Lǐ Shìmín , was the second emperor of the Tang Dynasty of China, ruling from 626 to 649...

, was with him in Taiyuan, and was secretly planning rebellion against Sui rule with Pei Ji the head of the household at Emperor Yang's secondary palace nearby and Liu Wenjing
Liu Wenjing
Liu Wenjing , courtesy name Zhaoren , formally the Duke of Lu , was an important official and one-time chancellor of Tang Dynasty. He initially served as an official of Sui Dynasty and was one of the driving forces in persuading the general Li Yuan to rebel against Emperor Yang of Sui...

 the Jinyang County (晉陽, i.e., Taiyuan) magistrate, but at first did not reveal their plans to Li Yuan. At Li Shimin's urging, Pei Ji, who had also earlier, against regulations, allowed Li Yuan to have sexual relations with some of late Emperor Wen's imperial concubines, persuaded Li Yuan that it was necessary for him to rebel. Li Yuan began to gather forces from the region, claiming that they were necessary to defend against Eastern Tujue, which drew suspicions from his deputies Wang Wei (王威) and Gao Junya (高君雅). Li Yuan, also fearful that Wang and Gao would act against him first, then used an Eastern Tujue attack as an excuse to falsely claim that Wang and Gao were working in concert with Eastern Tujue's Shibi Khan
Shibi Khan
Shibi Khagan , 611 - 619 AD, succeeded Qimin Khan as the ninth khagan of the Eastern Turkic Khaganate...

 Ashina Duojishi, executing them, while preparing for formal declaration of rebellion. He sent secret messengers to Hedong (河東, in modern Yuncheng, Shanxi
Shanxi
' is a province in Northern China. Its one-character abbreviation is "晋" , after the state of Jin that existed here during the Spring and Autumn Period....

) to recall his sons (as he had left his sons Li Jiancheng
Li Jiancheng
Li Jiancheng , formally Crown Prince Yin , nickname Pishamen , was a crown prince of the Chinese dynasty Tang Dynasty. He was the oldest son of the founding emperor Emperor Gaozu and therefore was designated crown prince after the founding of the dynasty in 618...

, Li Yuanji
Li Yuanji
Li Yuanji , formally Prince La of Chao , more commonly known by the title of Prince of Qi , nickname Sanhu , was an imperial prince of the Chinese Tang Dynasty...

, both by Duchess Dou as well, and Li Zhiyun (李智雲), by his concubine Lady Wan, there to watch over his household) and the capital Chang'an
Chang'an
Chang'an is an ancient capital of more than ten dynasties in Chinese history, today known as Xi'an. Chang'an literally means "Perpetual Peace" in Classical Chinese. During the short-lived Xin Dynasty, the city was renamed "Constant Peace" ; yet after its fall in AD 23, the old name was restored...

 to recall his daughter (the later Princess Pingyang) and her husband Chai Shao
Chai Shao
Chai Shao was a Chinese military leader of the Tang Dynasty.He was the son of Chai Shen, Duke of Julu. He married the Princess Pingyang, a daughter of the Emperor Gaozu, founder of the Tang dynasty, and distinguished himself as a general against the Turkic invaders...

 (柴紹). Li Jiancheng and Li Yuanji, leaving Li Zhiyun at Hedong, soon met with Chai, and they togethered arrived at Taiyuan. (Li Yuan's daughter, believing it would be difficult for her to flee with Chai, chose to hide instead.)

Once Li Jiancheng, Li Yuanji, and Chai arrived at Taiyuan, Li Yuan formally declared his rebellion—but cast it as a declaration of his wishes to declare Emperor Yang's grandson Yang You
Emperor Gong of Sui
Emperor Gong of Sui , personal name Yang You , was an emperor of the Chinese Sui Dynasty. Traditionally, he was considered the last emperor of the dynasty because he was the one who formally yielded the throne to the founding emperor to the succeeding Tang Dynasty, Emperor Gaozu of Tang ,...

 the Prince of Dai, who was then at Chang'an, emperor, and honor Emperor Yang as Taishang Huang
Taishang Huang
Retired Emperor, Grand Emperor, or Emperor Emeritus is a title occasionally used throughout East Asian feudal regimes for former emperors who had abdicated voluntarily to their sons. This title appeared in the history of China, Japan, Korea, and Vietnam...

(retired emperor). He contacted Ashina Doujishi, offering tributes, and received logistical support from Eastern Tujue. He put Li Jiancheng and Li Shimin in charge of his army and, leaving Li Yuanji in charge at Taiyuan, advanced south. (Meanwhile, the Sui officials at Hedong arrested Li Zhiyun and delivered him to Chang'an, where he was executed.)

His daughter Pingyang sold her possessions to raise an army for him. She persuaded several other leaders to fight under her banner. They took several towns and her army swelled until she had 70.000 troups under her command.

Meanwhile, Li Yuan wrote another rebel leader, Li Mi the Duke of Wei, who was near Luoyang, trying to see if Li Mi would be willing to follow him, but Li Mi, believing in his own strength, had his secretary Zu Junyan (祖君彥) write Li Yuan for him in this way:
Although I and you, my older brother, are of different branches, but we are both Lis. I know that I do not have sufficient strength, but by the love of the men on this earth, I have been made the leader. I hope that you will support and help me. Let us capture Ziying
Ziying
Ziying was the last ruler of the Qin Dynasty of China, ruling as King of Qin from mid-October to the beginning of December 207 BC, and being known posthumously as Qin San Shi...

 at Xianyang, and let us kill Xin of Shang
King Zhou of Shang
Emperor Xin of Shang was the last king of the Shang Dynasty. He was later given the pejorative posthumous name Zhòu . He is also called Zhou Xin or King Zhou . He may also be referred to by adding "Shang" in front of any of his names...

 at Muye; would it not be a great accomplishment?


Li Yuan was dismayed but, not wanting to make another enemy, wrote back humbly:
Although I am ordinary and foolish, but I have had the opportunity to, by my ancestors' largess, receive the opportunity to be an imperial messenger when leaving the capital and a guard leader in the capital. If the administration falls and I am unable to help it, even the most understanding wise man will rebuke me. Therefore, I have organized a righteous army and sought peace with the barbarians to the north [i.e., Tujue] to try to calm the earth and to protect Sui. However, for the people under the heavens, there must be someone to rule over them, and other than you, who can be that person? I am too old -- over 50 -- and that is not my intent, but I am happy to support you, my younger brother. I hope to be able to climb onto the scale of a dragon and hold onto the wing of a phoenix, and I hope that you, my younger brother, will soon, in accordance with the prophecy, pacify all who are on this earth. You are the leader among the Li, and I hope that you will be gracious and accept me, and to give me again the domain of Tang; that will be enough glory for me. I do not have the heart to hear such commands as killing Xin of Shang at Muye, nor do I dare to listen to the order of capturing Ziying at Xianyang. Also, the Fen and Jin region [i.e., modern Shanxi] requires pacification right now, and I am not yet able to arrange a time for the meeting at Mengjin [(盟津, in modern Zhengzhou
Zhengzhou
Zhengzhou , is the capital and largest city of Henan province in north-central China. A prefecture-level city, it also serves as the political, economic, technological, and educational centre of the province, as well as a major transportation hub for Central China...

, Henan
Henan
Henan , is a province of the People's Republic of China, located in the central part of the country. Its one-character abbreviation is "豫" , named after Yuzhou , a Han Dynasty state that included parts of Henan...

, where King Wu of Zhou
King Wu of Zhou
King Wu of Zhōu or King Wu of Chou was the first sovereign, or ruler of the Chinese Zhou Dynasty. The dates of his reign are 1046-1043 BCE or 1049/45-1043. Various sources quoted that he died at the age of 93, 54 or 43. He was considered a just and able leader. Zhou Gong Dan was one of his...

 met his supporters before attacking Shang's King Zhou)].


Li Mi was pleased with Li Yuan's response, believing that Li Yuan was willing to support him, and from that point on, Li Mi and Li Yuan often exchanged messengers. Li Yuan's campaign against Chang'an thus went without opposition from Li Mi. Meanwhile, however, when Li Yuan arrived near Hedong, his army was bogged down by the weather, and with food running out, there were rumors that Eastern Tujue and Liu Wuzhou would attack Taiyuan. Li Yuan initially ordered retreat, but at the earnest opposition by Li Jiancheng and Li Shimin, continued to advance. After defeating Sui forces at Huoyi (霍邑, also in modern Yuncheng), he decided to leave a small contingent to watch over Hedong while advancing across the Yellow River
Yellow River
The Yellow River or Huang He, formerly known as the Hwang Ho, is the second-longest river in China and the sixth-longest in the world at the estimated length of . Originating in the Bayan Har Mountains in Qinghai Province in western China, it flows through nine provinces of China and empties into...

 into Guanzhong
Guanzhong
Guanzhong , or Guanzhong Plain, is a historical region of China corresponding to the lower valley of the Wei River. It is called Guanzhong or 'within the passes' to distinguish it from 'Guandong' or 'east of the pass', that is, the North China Plain. The North China Plain is bordered on the west by...

 (i.e., the Chang'an region). Once he did, he headed for Chang'an himself, while sending Li Jiancheng to capture the territory around the Tong Pass region to prevent Sui forces at Luoyang from reinforcing Chang'an and Li Shimin north of the Wei River
Wei River
The Wei River is a major river in west-central China's Gansu and Shaanxi provinces. It is the largest tributary of the Yellow River and very important in the early development of Chinese civilization....

 to capture territory there. Meanwhile, his daughter had also risen in rebellion in support of him, and she was able to gather a sizable army and capture some cities. She joined forces with Li Shimin and her husband Chai Shao. Soon, Li Yuan reconsolidated his forces and put Chang'an under siege. In winter 617, he captured Chang'an and declared Yang You emperor (as Emperor Gong). He had himself made regent
Regent
A regent, from the Latin regens "one who reigns", is a person selected to act as head of state because the ruler is a minor, not present, or debilitated. Currently there are only two ruling Regencies in the world, sovereign Liechtenstein and the Malaysian constitutive state of Terengganu...

 (with the title of grand chancellor) and created the Prince of Tang. (Meanwhile, most of Sui territory did not recognize Emperor Gong as emperor and continued to recognize Emperor Yang as emperor and not as retired emperor.) He sent his nephew Li Xiaogong
Li Xiaogong
Li Xiaogong , formally Prince Yuan of Hejian , often referred to by his earlier title as Prince of Zhao Commandery , was an imperial prince and general of the Chinese dynasty Tang Dynasty...

 south, and Li Xiaogong was able to persuade the Sui cities in modern southern Shaanxi
Shaanxi
' is a province in the central part of Mainland China, and it includes portions of the Loess Plateau on the middle reaches of the Yellow River in addition to the Qinling Mountains across the southern part of this province...

, Sichuan
Sichuan
' , known formerly in the West by its postal map spellings of Szechwan or Szechuan is a province in Southwest China with its capital in Chengdu...

, and Chongqing
Chongqing
Chongqing is a major city in Southwest China and one of the five national central cities of China. Administratively, it is one of the PRC's four direct-controlled municipalities , and the only such municipality in inland China.The municipality was created on 14 March 1997, succeeding the...

 to submit.

Establishment of Tang and gradual unification

In spring 618, Emperor Yang was killed at Jiangdu (江都, in modern Yangzhou
Yangzhou
Yangzhou is a prefecture-level city in central Jiangsu Province, People's Republic of China. Sitting on the northern bank of the Yangtze River, it borders the provincial capital of Nanjing to the southwest, Huai'an to the north, Yancheng to the northeast, Taizhou to the east, and Zhenjiang across...

, Jiangsu
Jiangsu
' is a province of the People's Republic of China, located along the east coast of the country. The name comes from jiang, short for the city of Jiangning , and su, for the city of Suzhou. The abbreviation for this province is "苏" , the second character of its name...

) in a coup led by the general Yuwen Huaji
Yuwen Huaji
Yuwen Huaji was a general of the Chinese dynasty Sui Dynasty who, in 618, led a coup against Emperor Yang of Sui, killing him. He subsequently declared Emperor Yang's nephew Yang Hao led Emperor Yang's elite Xiaoguo Army north, but was then repeatedly defeated by Li Mi, Li Shentong , and...

. When the news reached Chang'an, Li Yuan had Emperor Gong yield the throne to him, establishing Tang Dynasty
Tang Dynasty
The Tang Dynasty was an imperial dynasty of China preceded by the Sui Dynasty and followed by the Five Dynasties and Ten Kingdoms Period. It was founded by the Li family, who seized power during the decline and collapse of the Sui Empire...

 as its Emperor Gaozu. He restored much of the institutions of Sui's Emperor Wen, reversing a number of changes that Emperor Yang made. He created Emperor Gong the Duke of Xi, and created Li Jiancheng, as his oldest son, crown prince
Crown Prince
A crown prince or crown princess is the heir or heiress apparent to the throne in a royal or imperial monarchy. The wife of a crown prince is also titled crown princess....

, while creating Li Shimin the Prince of Qin and Li Yuanji the Prince of Qi. Meanwhile, the Sui officials at Luoyang declared another grandson of Emperor Yang, Emperor Gong's brother Yang Tong
Yang Tong
Yang Tong , known in traditional histories by his princely title of Prince of Yue or by his era name as Lord Huangtai , posthumous name Emperor Gong , courtesy name Renjin , was an emperor of the Chinese Sui Dynasty...

 the Prince of Yue, as emperor, and refused to recognize the regime change in Chang'an.

Emperor Gaozu's rule immediately faced a major challenge from Xue Ju
Xue Ju
Xue Ju , formally Emperor Wu , was the founding emperor of a short-lived state of Qin at the end of the Chinese dynasty Sui Dynasty, whose state was eventually destroyed by Tang Dynasty...

, an agrarian leader who had declared himself the Emperor of Qin, as Xue, during the fall of 618, took advantage of Li Shimin's illness to defeat an army commanded by Li Shimin and Liu Wenjing at Qianshui Plain (in modern Xianyang
Xianyang
Xianyang is a former capital of China in Shaanxi province, on the Wei River, a few kilometers upstream from Xi'an. It has an area of...

, Shanxi
Shanxi
' is a province in Northern China. Its one-character abbreviation is "晋" , after the state of Jin that existed here during the Spring and Autumn Period....

) and approach Chang'an. Emperor Gaozu, in response, tried to enter an alliance with Li Gui
Li Gui
Li Gui , courtesy name Chuze , was the emperor of a short-lived state of Liang, which he established at the end of the Chinese Sui Dynasty. He governed the parts of modern Gansu west of the Yellow River...

 the Prince of Liang, between whose domain and the Tang was Xue's Qin state, writing Li Gui and referring to him as cousin. Li Gui briefly submitted to Emperor Gaozu. Meanwhile, before he could attack Chang'an, Xue Ju died of illness and was succeeded by his son Xue Rengao
Xue Rengao
Xue Rengao , also known as Xue Renguo , was an emperor of the short-lived state of Qin, established by his father Xue Ju at the end of the Chinese dynasty Sui Dynasty...

, who was a capable commander but who had alienated his generals because of his cruelty. Li Shimin was soon able to attack Xue Rengao at Gaozhi (高墌, in modern Xianyang as well), and force Xue Rengao to surrender.

Meanwhile, Li Mi, having been defeated earlier in the year in a surprise attack by the Sui general Wang Shichong
Wang Shichong
Wang Shichong , courtesy name Xingman , was a general of the Chinese Sui Dynasty who deposed Sui's last emperor Yang Tong and briefly ruled as the emperor of a succeeding state of Zheng...

, fled to Tang territory and submitted to Emperor Gaozu. Li Mi's general Xu Shiji
Li Shiji
Li Shiji , né Xu Shiji , later known in the reign of Emperor Gaozong of Tang as Li Ji , courtesy name Maogong , formally Duke Zhenwu of Ying , was one of the most celebrated generals early in the Chinese Tang Dynasty...

, who controlled a major part of Li Mi's former territory, also submitted, and Emperor Gaozu, impressed with Xu's faithfulness to Li Mi, bestowed the imperial surname of Li on Xu. Emperor Gaozu created Li Mi the Duke of Xing, but only made him the Minister of Feasts, a post that Li Mi viewed as below his stature. Around the new year 619, Li Mi requested Emperor Gaozu's permission to head east to persuade some of his former subordinates to submit to Tang, and once he left Chang'an, planned to restore his independence. He was ambushed and killed by the Tang general Sheng Yanshi (盛彥師).

In spring 619, Wang had Yang Tong yield the throne to him, ending Sui and establishing a new state of Zheng.

Around the same time, Li Gui, while stating that he wished to be a Tang subject, refused the Tang creation of Prince of Liang, instead declaring himself the Emperor of Tang. Emperor Gaozu broke off his relations with Li Gui. In summer 619, Li Gui's official An Xinggui (安興貴), formerly a Tang official, rebelled against Li Gui and captured him, submitting to Tang. Emperor Gaozu executed Li Gui and incorporated his domain into Tang. Also around the same time, the rebel leader Du Fuwei
Du Fuwei
Du Fuwei , known during service to Tang Dynasty as Li Fuwei , was an agrarian leader who rose against the rule of Emperor Yang of Sui at the end of the Chinese dynasty Sui Dynasty. At one point, he had ambitions to take over the region south of the Yangtze River for himself, but he later chose to...

, who controlled the modern southern Anhui
Anhui
Anhui is a province in the People's Republic of China. Located in eastern China across the basins of the Yangtze River and the Huai River, it borders Jiangsu to the east, Zhejiang to the southeast, Jiangxi to the south, Hubei to the southwest, Henan to the northwest, and Shandong for a tiny...

, submitted to Tang, and Emperor Gaozu also bestowed the imperial surname of Li on him, creating him the Prince of Wu. Similarly, Luo Yi
Luo Yi
Luo Yi , known during service to Tang Dynasty as Li Yi , courtesy name Ziyan or Ziting , was a Sui Dynasty official who rose against the rule of Emperor Yang of Sui and occupied the modern Beijing region. He subsequently submitted to Emperor Gaozu of Tang and was created the Prince of Yan and...

, who controlled the modern Beijing
Beijing
Beijing , also known as Peking , is the capital of the People's Republic of China and one of the most populous cities in the world, with a population of 19,612,368 as of 2010. The city is the country's political, cultural, and educational center, and home to the headquarters for most of China's...

 region, submitted, was bestowed the imperial surname of Li, and was created the Prince of Yan.

Meanwhile, Tang was facing another serious threat—Liu Wuzhou, now determined to march south against Tang. Emperor Gaozu sent Pei Ji against Liu's advancing army, but Pei was defeated by Liu, who then put Taiyuan under siege. Li Yuanji fled back to Chang'an, and much of modern Shanxi was seized by Liu. Emperor Gaozu then sent Li Shimin against Liu, and by summer 620, Li Shimin had defeated Liu, forcing him to flee to Eastern Tujue. Liu's territory was incorporated into Tang. Around the same time, however, Dou Jiande
Dou Jiande
Dou Jiande was a leader of the agrarian rebels who rose against the rule of Emperor Yang of Sui near the end of the Chinese dynasty Sui Dynasty...

 the Prince of Xia made a major offensive against the cities that had submitted to Tang in modern Hebei
Hebei
' is a province of the People's Republic of China in the North China region. Its one-character abbreviation is "" , named after Ji Province, a Han Dynasty province that included what is now southern Hebei...

 and Henan
Henan
Henan , is a province of the People's Republic of China, located in the central part of the country. Its one-character abbreviation is "豫" , named after Yuzhou , a Han Dynasty state that included parts of Henan...

, north of the Yellow River, seizing nearly all of them and taking Emperor Gaozu's cousin Li Shentong (李神通) the Prince of Huai'an, Emperor Gaozu's sister the Princess Tong'an, and Li Shiji's father Li Gai (李蓋) captive. With Li Gai in Dou's custody, Li Shiji surrendered to Dou as well. In 620, Li Shiji, in association with another Tang general who surrendered to Dou, Li Shanghu (李商胡), plotted to ambush Dou, but the plot was discovered; Li Shanghu was killed, and Li Shiji fled back to Tang.

In 620, Li Fuwei captured much of the territory of another agrarian ruler, Li Zitong
Li Zitong
Li Zitong was an agrarian leader who claimed the title of emperor in the aftermaths of the death of Emperor Yang of Sui, at the hands of Emperor Yang's general Yuwen Huaji in 618. After Yuwen then vacated the city of Jiangdu , the region was in a state of confusion, and in 619, Li captured...

 the Emperor of Wu, in the lower Yangtze River
Yangtze River
The Yangtze, Yangzi or Cháng Jiāng is the longest river in Asia, and the third-longest in the world. It flows for from the glaciers on the Tibetan Plateau in Qinghai eastward across southwest, central and eastern China before emptying into the East China Sea at Shanghai. It is also one of the...

 region, in the name of Tang Dynasty. Li Zitong, in turn, defeated and took over the territory of Shen Faxing
Shen Faxing
Shen Faxing was an official of the Chinese dynasty Sui Dynasty who, after Emperor Yang of Sui was killed in a coup led by the general Yuwen Huaji in 618, seized the modern Zhejiang and southern Jiangsu region, declaring himself the Prince of Liang...

 the Prince of Liang, roughly modern Zhejiang
Zhejiang
Zhejiang is an eastern coastal province of the People's Republic of China. The word Zhejiang was the old name of the Qiantang River, which passes through Hangzhou, the provincial capital...

.

After Li Shiimin defeated Liu, he started a campaign against Wang's Zheng state in fall 620. He initially could not decisively defeat Zheng, but by spring 621 had put the Zheng capital Luoyang under a tight siege, although he was not able to capture it. Wang sought aid from Dou, and Dou, believing that if Zheng were destroyed, his Xia state would be cornered, agreed to render aid. Emperor Gaozu was initially fearful that Dou and Wang would be able to sandwich Li Shimin's forces and ordered Li Shimin to retreat, but upon Li Shimin's petition changed his mind and permitted Li Shimin to remain in the Luoyang region. Li Shimin, leaving Li Yuanji in charge of the siege of Luoyang, advanced and took up position at Hulao Pass
Hulao Pass
Hulao Pass is a mountain pass northwest of Xingyang, Henan, China. It is the site of many historical battles, being the eastern guard for the capital Luoyang for several dynasties. With Mount Song to the south, the Yellow River to the north, the pass holds up a formidable defense...

. In summer 621, the Tang and Xia forces engaged at Hulao, and Li Shimin defeated Dou, capturing him. In fear, Wang also surrendered. Most of Zheng territory was seized by Tang. Xia territory was also seized by Tang, but after Emperor Gaozu executed Dou, Dou's general Liu Heita
Liu Heita
Liu Heita was an agrarian rebel leader during China's transition period from Sui Dynasty to Tang Dynasty, who initially successively served under Hao Xiaode , Li Mi, and Wang Shichong. He eventually followed Dou Jiande the Prince of Xia...

 rose against Tang, seizing most of former Xia territory, while Xu Yuanlang
Xu Yuanlang
Xu Yuanlang was an agrarian rebel leader who rose against the rule of the Chinese dynasty Sui Dynasty late in the reign of Emperor Yang of Sui. After doing so, he did not initially claim any royal title, instead successively submitting nominally to Li Mi the Duke of Wei, Emperor Yang's grandson...

, a rebel leader who had previously submitted to Zheng, also rose, occupying the modern Shandong
Shandong
' is a Province located on the eastern coast of the People's Republic of China. Shandong has played a major role in Chinese history from the beginning of Chinese civilization along the lower reaches of the Yellow River and served as a pivotal cultural and religious site for Taoism, Chinese...

 region.

Also in 621, Li Xiaogong defeated Xiao Xian the Emperor of Liang, who had controlled the modern Hubei
Hubei
' Hupeh) is a province in Central China. The name of the province means "north of the lake", referring to its position north of Lake Dongting...

, Hunan
Hunan
' is a province of South-Central China, located to the south of the middle reaches of the Yangtze River and south of Lake Dongting...

, and Guangxi
Guangxi
Guangxi, formerly romanized Kwangsi, is a province of southern China along its border with Vietnam. In 1958, it became the Guangxi Zhuang Autonomous Region of the People's Republic of China, a region with special privileges created specifically for the Zhuang people.Guangxi's location, in...

 region, forcing Xiao Xian to surrender. On another front, Li Fuwei's lieutenant Fu Gongshi
Fu Gongshi
Fu Gongshi was an agrarian rebel leader who served as Du Fuwei's lieutenant during the disintegration of the Chinese dynasty Sui Dynasty, who later followed Du in submitting to Tang Dynasty...

 defeated Li Zitong, forcing him to surrender as well. Liang and Wu territory were seized by Tang.

Meanwhile, while not noted as Emperor Gao of Han's killing of Han Xin
Hán Xìn
Han Xin was a military general who served Liu Bang during the Chu–Han contention and contributed greatly to the founding of the Han Dynasty...

 and Peng Yue
Peng Yue
Peng Yue , style name Zhong , was a prominent military leader and political figure in the late Qin Dynasty and early Han Dynasty. He was involved in the Chu–Han contention and served Liu Bang as an ally...

, the historians had nevertheless noted that some contributors to Emperor Gaozu's establishment of Tang were wrongly killed by him or killed based on fairly little evidence of wrongdoing:
  • Liu Wenjing, in 619, on accusation that he engaged sorcerers.
  • Emperor Gaozu's cousin Dugu Huai'en (獨孤懷恩), in 620, on accusation of treason.
  • Li Zhongwen (李仲文) the Duke of Zhenxiang, in 620, on accusation of collaboration with Eastern Tujue.
  • Liu Shirang (劉世讓) the Duke of Yingyang, in 623, on accusation of collaboration with Eastern Tujue.

Struggle between sons and the Incident at Xuanwu Gate

In spring 622, Li Shimin defeated Liu Heita, forcing him to flee to Eastern Tujue, but Liu Heita soon returned with Eastern Tujue reinforcements and killed Emperor Gaozu's nephew Li Daoxuan (李道玄) the Prince of Huaiyang in battle, again seizing former Xia territory, although by this point Li Shimin and Li Yuanji had also defeated Xu Yuanlang and reduced his territory to a few cities.

Meanwhile, an intense rivalry had developed between Li Jiancheng and Li Shimin, as while Li Jiancheng had some contributions toward Tang's reunification of China, Li Shimin had been the one defeating and capturing the major rivals Xue Rengao, Liu Wuzhou, Dou Jiande, and Wang Shichong, causing him to possess the greater reputation among the army. Li Yuanji, who was also often relied on by Emperor Gaozu as a general, supported Li Jiancheng in this rivalry, and often pushed Li Jiancheng toward a more hardline position against Li Shimin, wanting to be crown prince when Li Jiancheng would become emperor. Li Jiancheng and Li Yuanji had better relations with Emperor Gaozu's favored young concubines than Li Shimin did (as their mother Duchess Dou had died before Tang's establishment), and those concubines helped rehabilitate Li Jiancheng's standing before Emperor Gaozu, causing him to no longer consider making Li Shimin crown prince instead, as he considered at one point.

By winter 622, Liu Heita posed the only remaining major threat against Tang rule. At the suggestion of his staff members Wang Gui
Wang Gui
Wang Gui , courtesy name Shujie , formally Duke Yi of Yongning , was a chancellor during the reign of Emperor Taizong of Tang...

 and Wei Zheng
Wei Zheng
Wei Zheng , courtesy name Xuancheng , formally Duke Wenzhen of Zheng , was a Chinese politician and the lead editor of the Book of Sui, composed in 636...

, who argued that Li Jiancheng needed some victories himself to establish his reputation, Li Jiancheng volunteered to command the army against Liu Heita. Emperor Gaozu thus sent Li Jiancheng, assisted by Li Yuanji. Around the new year 623, with Liu's forced bogged down while attacking Tang's Wei Prefecture (魏州, in modern Handan
Handan
Handan is a prefecture-level city located in the southwestern part of Hebei Province of China.- History :Handan was the capital of the State of Zhao during the Warring States period , after the capital moved from Zhongmu. The city was conquered by the State of Qin after the virtual annexation of...

, Hebei
Hebei
' is a province of the People's Republic of China in the North China region. Its one-character abbreviation is "" , named after Ji Province, a Han Dynasty province that included what is now southern Hebei...

), Li Jiancheng and Li Yuanji engaged him at Guantao (館陶, in modern Handan as well), crushing him. Liu fled north toward Eastern Tujue, but was ambushed and captured by his own official Zhuge Dewei (諸葛德威), who delivered him to Li Jiancheng. Li Jiancheng executed Liu. Around the same time, Xu was killed in flight. Meanwhile, Lin Shihong
Lin Shihong
Lin Shihong was an agrarian leader who rose against the rule of the Chinese Sui Dynasty near the end of Emperor Yang's reign. For several years, he controlled most of modern Jiangxi and Guangdong, but was then under attack by others, gradually reduced to fighting a guerrilla war against Tang...

 the Emperor of Chu, who had one point controlled modern Jiangxi
Jiangxi
' is a southern province in the People's Republic of China. Spanning from the banks of the Yangtze River in the north into hillier areas in the south, it shares a border with Anhui to the north, Zhejiang to the northeast, Fujian to the east, Guangdong to the south, Hunan to the west, and Hubei to...

 and Guangdong
Guangdong
Guangdong is a province on the South China Sea coast of the People's Republic of China. The province was previously often written with the alternative English name Kwangtung Province...

, had died, and his followers scattered. China was by this point completely unified by Tang except for the domain of Liang Shidu
Liang Shidu
Liang Shidu was an agrarian leader who rebelled against the rule of the Chinese dynasty Sui Dynasty near the end of the reign of Emperor Yang of Sui...

 the Emperor of Liang, who controlled modern northern Shaanxi
Shaanxi
' is a province in the central part of Mainland China, and it includes portions of the Loess Plateau on the middle reaches of the Yellow River in addition to the Qinling Mountains across the southern part of this province...

 and western Inner Mongolia
Inner Mongolia
Inner Mongolia is an autonomous region of the People's Republic of China, located in the northern region of the country. Inner Mongolia shares an international border with the countries of Mongolia and the Russian Federation...

, although, with Li Fuwei at Chang'an, Fu Gongshi rebelled in 623 and declared himself the Emperor of Song. Fu's rebellion, however, was quelled by Li Xiaogong in 624.

Meanwhile, the rivalry between Li Jiancheng and Li Shimin intensified. In 624, Li Jiancheng requisitioned a number of soldiers from the general Li Yi
Luo Yi
Luo Yi , known during service to Tang Dynasty as Li Yi , courtesy name Ziyan or Ziting , was a Sui Dynasty official who rose against the rule of Emperor Yang of Sui and occupied the modern Beijing region. He subsequently submitted to Emperor Gaozu of Tang and was created the Prince of Yan and...

 the Prince of Yan, to supplement his guard corps, against Emperor Gaozu's regulations. When this was revealed to Emperor Gaozu, Emperor Gaozu rebuked Li Jiancheng and exiled his guard commander Keda Zhi (可達志). When, subsequently, Li Jiancheng nevertheless requested the commandant at Qing Prefecture (慶州, in modern Qingyang
Qingyang
Qingyang is a prefecture-level city in China's Gansu province.-Geography and climate:Qingyang is in eastern Gansu province and is sometimes referred to in Chinese as "Longdong" . Ningxia province is to the north west and Shaanxi is to the east. It is in the lower middle part of the Yellow River on...

, Gansu
Gansu
' is a province located in the northwest of the People's Republic of China.It lies between the Tibetan and Huangtu plateaus, and borders Mongolia, Inner Mongolia, and Ningxia to the north, Xinjiang and Qinghai to the west, Sichuan to the south, and Shaanxi to the east...

), Yang Wen'gan (楊文幹), to conscript troops, presumably to guard against Li Shimin, the officers Erzhu Huan (爾朱煥) and Qiao Gongshan (橋公山) informed Emperor Gaozu that Li Jiancheng was encouraging Yang to start a rebellion so that they could seize power together. Emperor Gaozu, then at Renzhi Palace (仁智宮, in modern Tongchuan, Shaanxi
Shaanxi
' is a province in the central part of Mainland China, and it includes portions of the Loess Plateau on the middle reaches of the Yellow River in addition to the Qinling Mountains across the southern part of this province...

), was incensed, and summoned Li Jiancheng, then at Chang'an, to Renzhi Palace. Li Jiancheng briefly flirted the idea of occupying Chang'an and not accepting the order, but eventually reported to Renzhi Palace to request forgiveness. Emperor Gaozu put him under arrest. When Yang heard this, Yang rebelled, and Emperor Gaozu, after promising Li Shimin that he would be made crown prince, sent Li Shimin to attack Yang. (Under Emperor Gaozu's promise, Li Jiancheng would be removed as crown prince and created the Prince of Shu instead. He would then send Li Jiancheng to the modern Sichuan
Sichuan
' , known formerly in the West by its postal map spellings of Szechwan or Szechuan is a province in Southwest China with its capital in Chengdu...

 region.) Once Li Shimin left, however, Li Yuanji, Emperor Gaozu's concubines, and the chancellor
Chancellor
Chancellor is the title of various official positions in the governments of many nations. The original chancellors were the Cancellarii of Roman courts of justice—ushers who sat at the cancelli or lattice work screens of a basilica or law court, which separated the judge and counsel from the...

 Feng Deyi
Feng Deyi
Feng Deyi , formal name Feng Lun but went by the courtesy name of Deyi, formally initially Duke Ming of Mi , later Duke Miao of Mi , was an official of the Chinese dynasty Sui Dynasty and Tang Dynasty who served as a chancellor during the reigns of Emperor Gaozu of Tang and Emperor Taizong of Tang...

, all spoke on Li Jiancheng's behalf, and Emperor Gaozu changed his mind, released Li Jiancheng, and allowed him to return to Chang'an and remain as crown prince. Instead, Emperor Gaozu only blamed the discord between his sons on Li Jiancheng's staff members Wang Gui and Wei Ting (韋挺), and Li Shimin's staff member Du Yan
Du Yan
Du Yan , courtesy name Zhili , formally Duke Xiang of Anji , was a chancellor during the reign of Emperor Taizong of Tang. His more famous nephew Du Ruhui was also a chancellor.- During Sui Dynasty :...

, exiling them. Yang was subsequently assassinated by his own subordinates.

Another problem that Emperor Gaozu faced was constant Eastern Tujue incursions. Emperor Gaozu seriously considered burning Chang'an to the ground and moving the capital to Fancheng (樊城, in modern Xiangfan
Xiangfan
Xiangyang is a prefecture-level city in Hubei Province of the People's Republic of China. It was formed from two famous ancient cities, Xiangyang and Fancheng...

, Hubei
Hubei
' Hupeh) is a province in Central China. The name of the province means "north of the lake", referring to its position north of Lake Dongting...

), a suggestion that Li Jiancheng, Li Yuanji, and the chancellor Pei Ji agreed with. Li Shimin opposed, however, and the plan was not carried out. Meanwhile, Li Shimin himself was sending his confidants to Luoyang to build up personal control of the army there. After an incident in which Li Shimin suffered a severe case of food poisoning after feasting at Li Jiancheng's palace—an event that both Emperor Gaozu and Li Shimin apparently interpreted as an assassination attempt—Emperor Gaozu considered sending Li Shimin to guard Luoyang to prevent further conflict, but Li Jiancheng and Li Yuanji, after consulting each other, believed that this would only give Li Shimin an opportunity to build up his personal power there, and therefore opposed it. Emperor Gaozu therefore did not carry out the plan.

By 626, Li Shimin was fearful that he would be killed by Li Jiancheng, and his staff members Fang Xuanling
Fang Xuanling
Fang Xuanling , formal name Fang Qiao but went by the courtesy name of Xuanling, formally Duke Wenzhao of Liang , was the lead editor of the Book of Jin and one of the most celebrated chancellors of the Chinese dynasty Tang Dynasty, and he and his colleague Du Ruhui, both serving during the reign...

, Du Ruhui
Du Ruhui
Du Ruhui , courtesy name Keming , formally Duke Cheng of Lai , was one of the most celebrated chancellors of the Chinese dynasty Tang Dynasty, and he and his colleague Fang Xuanling, both serving during the reign of Emperor Taizong, were often asserted to be ideal models for chancellors.- During...

, and Zhangsun Wuji
Zhangsun Wuji
Zhangsun Wuji , courtesy name Fuji , formally Duke of Zhao , was a chancellor of the Chinese dynasty Tang Dynasty during the reigns of his brother-in-law Emperor Taizong and nephew Emperor Gaozong...

 were repeatedly encouraging Li Shimin to attack Li Jiancheng and Li Yuanji first—while Wei Zheng was encouraging Li Jiancheng to attack Li Shimin first. Li Jiancheng persuaded Emperor Gaozu to remove Fang and Du, as well as Li Shimin's trusted guard officers Yuchi Jingde
Yuchi Jingde
Yuchi Jingde , formal name Yuchi Gong but went by the courtesy name of Jingde, formally Duke Zhongwu of E , was a general of the Chinese dynasty Tang Dynasty whose bravery later caused him to be incorporated into Chinese folk religion as a door god, along with Qin Shubao.-During Sui Dynasty:Yuchi...

 and Cheng Zhijie (程知節), from Li Shimin's staff. Zhangsun, who remained on Li Shimin's staff, continued to try to persuade Li Shimin to attack first.

In summer 626, Eastern Tujue was making another attack, and under Li Jiancheng's suggestion, Emperor Gaozu, instead of sending Li Shimin to resist Eastern Tujue as he first was inclined, decided to send Li Yuanji instead. Li Yuanji was given command of much of the army previously under Li Shimin's control, further troubling Li Shimin, who believed that with the army in Li Yuanji's hands, he would be unable to resist an attack. Li Shimin had Yuchi summon Fang and Du back to his mansion secretly, and then on one night submitted an accusation to Emperor Gaozu that Li Jiancheng and Li Yuanji were committing adultery with Emperor Gaozu's concubines. Emperor Gaozu, in response, issued summonses to Li Jiancheng and Li Yuanji for the next morning, convening the senior officials Pei Ji, Xiao Yu
Xiao Yu
Xiao Yu , courtesy name Shiwen , formally Duke Zhenbian of Song , was an imperial prince of the Chinese dynasty Liang Dynasty who later became an official for Sui Dynasty and Tang Dynasty, serving as a chancellor at times during the reigns of Emperor Gaozu of Tang and Emperor Taizong of Tang.-...

, and Chen Shuda
Chen Shuda
Chen Shuda , courtesy name Zicong , formally initially Duke Miao of Jiang , later Duke Zhong of Jiang , was an imperial prince of the Chinese dynasty Chen Dynasty, who, after Chen's destruction, served as an official for the succeeding Sui Dynasty and Tang Dynasty, becoming a chancellor during the...

 to examine Li Shimin's accusations. As Li Jiancheng and Li Yuanji approached the central gate leading to Emperor Gaozu's palace, Xuanwu Gate (玄武門), Li Shimin carried out the ambush he had set. He personally fired an arrow that killed Li Jiancheng. Subsequently, Yuchi killed Li Yuanji. Li Shimin's forces entered the palace and, under the intimidation of Li Shimin's forces, Emperor Gaozu agreed to create Li Shimin crown prince, and two months later passed the throne to him (as Emperor Taizong). Li Jiancheng's and Li Yuanji's sons were all executed as well, with Emperor Gaozu not daring to oppose the action.

As retired emperor

Emperor Gaozu, as retired emperor, did not appear to try to exert much influence in the reign of his son Emperor Taizong, and not much was recorded about his activities. Indeed, Emperor Taizong, almost immediately, began reversing some of his policies, including his policies of creating many relatives to be imperial princes (which Emperor Taizong reversed later in 626, reducing the ranks of most of those princes to dukes) and Emperor Gaozu's gathering of many ladies in waiting (which Emperor Taizong reversed in 628, releasing about 3,000 ladies in waiting from service, although Emperor Taizong himself, later in his reign, appeared to have gathered as many if not more).

In 629, Emperor Gaozu moved from the main palace, Taiji Palace (太極殿) to the subsidiary Hongyi Palace (弘義宮), which was then renamed Da'an Palace (大安宮). Only then was Emperor Taizong able to move from the crown prince's palace to Taiji Palace.

In 630, when Emperor Gaozu, who had been submitting tributes to Eastern Tujue throughout his reign, heard that Emperor Taizong had sent the general Li Jing
Li Jing
Li Jing , né Yaoshi , formally Duke Jingwu of Wei , was a general and one time chancellor of the Chinese Tang Dynasty...

 to defeat and capture Eastern Tujue's Jiali Khan Ashina Duobi, commented, "Gaozu of Han
Gaozu of Han
Emperor Gao , commonly known within China by his temple name Gaozu , personal name Liu Bang, was the first emperor of the Han Dynasty, ruling over China from 202 BC to 195 BC...

 was trapped at Baideng [(白登, in modern Datong
Datong
Datong is a prefecture-level city in northern Shanxi Province of North China, located a few hundred kilometres west by rail from Beijing with an elevation of...

, Shanxi
Shanxi
' is a province in Northern China. Its one-character abbreviation is "晋" , after the state of Jin that existed here during the Spring and Autumn Period....

) by Xiongnu
Xiongnu
The Xiongnu were ancient nomadic-based people that formed a state or confederation north of the agriculture-based empire of the Han Dynasty. Most of the information on the Xiongnu comes from Chinese sources...

 forces] and could not avenge himself. Now my son can destroy Tujue. I have entrusted the empire to the right person, and what do I have to worry about?" He subsequently summoned a number of princes and princesses, along with high level officials, to celebrate the victory, playing the pipa
Pipa
The pipa is a four-stringed Chinese musical instrument, belonging to the plucked category of instruments . Sometimes called the Chinese lute, the instrument has a pear-shaped wooden body with a varying number of frets ranging from 12–26...

 himself at the celebration and having the guests dance to it.

As Chang'an was often hot during the summer, Emperor Taizong often invited Emperor Gaozu to go with him to Jiucheng Palace (九成宮, in modern Baoji
Baoji
Baoji is a prefecture-level city in Shaanxi province, China.-Geography:The prefecture-level city of Baoji has a population of 3,716,731 according to the 2010 Chinese census, inhabiting an area of . The city itself has a population of approximately 800,000. Surrounded on three sides by hills,...

, Shaanxi
Shaanxi
' is a province in the central part of Mainland China, and it includes portions of the Loess Plateau on the middle reaches of the Yellow River in addition to the Qinling Mountains across the southern part of this province...

), to avoid the heat during the summer. However, as Sui's Emperor Wen had died there (which was named Renshou Palace (仁壽宮) during Sui Dynasty), Emperor Gaozu did not want to visit Jiucheng Palace. Rather, in 634, Emperor Taizong began to construct another summer palace, Daming Palace (大明宮), to serve as Emperor Gaozu's summer palace, but Emperor Gaozu fell ill before it was completed, and he never visited Daming Palace. He died in spring 635.

Chancellors during reign

  • Li Shimin
    Emperor Taizong of Tang
    Emperor Taizong of Tang , personal name Lǐ Shìmín , was the second emperor of the Tang Dynasty of China, ruling from 626 to 649...

     (618-626)
  • Pei Ji (618-626)
  • Liu Wenjing
    Liu Wenjing
    Liu Wenjing , courtesy name Zhaoren , formally the Duke of Lu , was an important official and one-time chancellor of Tang Dynasty. He initially served as an official of Sui Dynasty and was one of the driving forces in persuading the general Li Yuan to rebel against Emperor Yang of Sui...

     (618)
  • Xiao Yu
    Xiao Yu
    Xiao Yu , courtesy name Shiwen , formally Duke Zhenbian of Song , was an imperial prince of the Chinese dynasty Liang Dynasty who later became an official for Sui Dynasty and Tang Dynasty, serving as a chancellor at times during the reigns of Emperor Gaozu of Tang and Emperor Taizong of Tang.-...

     (618-626)
  • Dou Wei
    Dou Wei (Tang Dynasty)
    Dou Wei , courtesy name Wenwei , formally Duke Jing of Yan'an , was a Sui Dynasty official who, after the founding of Tang Dynasty in 618, briefly served as a chancellor until his death later that month.- Background :Dou Wei was from Fufeng Commandery...

     (618)
  • Dou Kang
    Dou Kang
    Dou Kang , courtesy name Daosheng , was an official and general during the Chinese dynasties Sui Dynasty and Tang Dynasty who briefly served as a chancellor early in the reign of Emperor Gaozu of Tang.- Background :...

     (618)
  • Chen Shuda
    Chen Shuda
    Chen Shuda , courtesy name Zicong , formally initially Duke Miao of Jiang , later Duke Zhong of Jiang , was an imperial prince of the Chinese dynasty Chen Dynasty, who, after Chen's destruction, served as an official for the succeeding Sui Dynasty and Tang Dynasty, becoming a chancellor during the...

     (618-626)
  • Yang Gongren
    Yang Gongren
    Yang Gongren , formal name Yang Guan but went by the courtesy name of Gongren, formally Duke Xiao of Guan , was an official and general during the Chinese dynasties Sui Dynasty and Tang Dynasty, at one point serving as a chancellor during Tang.- Background :It is not known when Yang Gongren was...

     (619-626)
  • Feng Deyi
    Feng Deyi
    Feng Deyi , formal name Feng Lun but went by the courtesy name of Deyi, formally initially Duke Ming of Mi , later Duke Miao of Mi , was an official of the Chinese dynasty Sui Dynasty and Tang Dynasty who served as a chancellor during the reigns of Emperor Gaozu of Tang and Emperor Taizong of Tang...

     (620-626)
  • Pei Ju
    Pei Ju
    Pei Ju , courtesy name Hongda , formally Duke Jing of Anyi , was a high level official during the Chinese dynasties Sui Dynasty and Tang Dynasty, briefly serving as a chancellor during the reign of Emperor Gaozu of Tang...

     (624-625)
  • Yuwen Shiji
    Yuwen Shiji
    Yuwen Shiji , formally Duke Zong of Ying , was an official of the Chinese dynasties Sui Dynasty and Tang Dynasty, serving as a chancellor during the reign of Emperor Taizong of Tang...

     (625-626)
  • Gao Shilian
    Gao Shilian
    Gao Shilian , formal name Gao Jian but went by the courtesy name of Shilian, formally Duke Wenxian of Shen , was a chancellor of the Chinese dynasty Tang Dynasty...

     (626)
  • Fang Xuanling
    Fang Xuanling
    Fang Xuanling , formal name Fang Qiao but went by the courtesy name of Xuanling, formally Duke Wenzhao of Liang , was the lead editor of the Book of Jin and one of the most celebrated chancellors of the Chinese dynasty Tang Dynasty, and he and his colleague Du Ruhui, both serving during the reign...

     (626)

Personal information

  • Father
    • Li Bing (李昺) (d. 572), Duke Ren of Tang during Sui Dynasty
      Sui Dynasty
      The Sui Dynasty was a powerful, but short-lived Imperial Chinese dynasty. Preceded by the Southern and Northern Dynasties, it ended nearly four centuries of division between rival regimes. It was followed by the Tang Dynasty....

      , posthumously honored as Emperor Yuan (Shizu)
  • Mother
    • Duchess Dugu, daughter of Dugu Xin (獨孤信) and sister of Empress Dugu
      Empress Dugu (Ming)
      Empress Dugu , formally Empress Mingjing , was an empress of the Chinese/Xianbei dynasty Northern Zhou Empress Dugu (獨孤皇后, personal name unknown) (died 558), formally Empress Mingjing (明敬皇后), was an empress of the Chinese/Xianbei dynasty Northern Zhou Empress Dugu (獨孤皇后, personal name unknown)...

       of Northern Zhou
      Northern Zhou
      The Northern Zhou Dynasty followed the Western Wei, and ruled northern China from 557 to 581. It was overthrown by the Sui Dynasty.Northern Zhou's basis of power was established by Yuwen Tai, who was paramount general of Western Wei, following the split of Northern Wei into Western Wei and...

       and Empress Dugu Qieluo
      Empress Dugu Qieluo
      Empress Dugu Qieluo , formally Empress Wenxian , was an empress of the Chinese dynasty Sui Dynasty...

       of Sui Dynasty
      Sui Dynasty
      The Sui Dynasty was a powerful, but short-lived Imperial Chinese dynasty. Preceded by the Southern and Northern Dynasties, it ended nearly four centuries of division between rival regimes. It was followed by the Tang Dynasty....

      , posthumously honored as Empress Dowager Yuanzhen
  • Wife
    • Duchess Dou, daughter of Dou Yi (竇毅) the Duke of Shenwu during Northern Zhou
      Northern Zhou
      The Northern Zhou Dynasty followed the Western Wei, and ruled northern China from 557 to 581. It was overthrown by the Sui Dynasty.Northern Zhou's basis of power was established by Yuwen Tai, who was paramount general of Western Wei, following the split of Northern Wei into Western Wei and...

       and Sui Dynasty
      Sui Dynasty
      The Sui Dynasty was a powerful, but short-lived Imperial Chinese dynasty. Preceded by the Southern and Northern Dynasties, it ended nearly four centuries of division between rival regimes. It was followed by the Tang Dynasty....

       and the Princess Xiangyang, daughter of Yuwen Tai
      Yuwen Tai
      Yuwen Tai , nickname Heita , formally Duke Wen of Anding , later further posthumously honored by Northern Zhou initially as Prince Wen then as Emperor Wen with the temple name Taizu , was the paramount general of the Chinese/Xianbei state Western Wei, a branch successor state of Northern Wei...

      , posthumously honored as Empress Taimushunsheng, mother of Crown Princes Jiancheng and Shimin, Li Xuanba, Prince Yuanji and Princess Pingyang. Duchess Dou was of Xianbei
      Xianbei
      The Xianbei were a significant Mongolic nomadic people residing in Manchuria, Inner Mongolia and eastern Mongolia. The title “Khan” was first used among the Xianbei.-Origins:...

       ancestry.
  • Major Concubines
    • Consort Wan, mother of Li Zhiyun
    • Consort Yin, mother of Prince Yuanheng
    • Consort Mo, mother of Prince Yuanjing
    • Consort Sun, mother of Prince Yuanchang
    • Consort Yuwen, mother of Princes Yuanjia and Lingkui, daughter of Yuwen Shu
      Yuwen Shu
      Yuwen Shu , courtesy name Botong , formally Duke Gong of Xu , was an official and general of the Chinese dynasty Sui Dynasty...

    • Consort Cui, mother of Prince Yuanyu
    • Consort Yang, mother of Prince Yuanxiang
    • Consort Yang, mother of Prince Yuanming
    • Consort Guo, mother of Prince Yuanli
    • Consort Liu, mother of Prince Yuanqing
    • Consort Yang, mother of Prince Feng
    • Consort Zhang, mother of Prince Yuangui
    • Consort Zhang, mother of Prince Yuanyi
    • Consort Liu, mother of Prince Yuanying
    • Consort Wang, mother of Prince Yuanze
    • Consort Lu, mother of Prince Yuanxiao
    • Consort Zhang, mother of Prince Yuanfang
  • Children
    • Li Jiancheng
      Li Jiancheng
      Li Jiancheng , formally Crown Prince Yin , nickname Pishamen , was a crown prince of the Chinese dynasty Tang Dynasty. He was the oldest son of the founding emperor Emperor Gaozu and therefore was designated crown prince after the founding of the dynasty in 618...

       (李建成), initially the Duke of Longxi (created 617), later the Heir Apparent of Tang (created 617), later the Crown Prince (created 618, killed by Li Shimin
      Emperor Taizong of Tang
      Emperor Taizong of Tang , personal name Lǐ Shìmín , was the second emperor of the Tang Dynasty of China, ruling from 626 to 649...

       626)
    • Li Shimin (李世民), initially the Duke of Dunhuang (created 617), later the Duke of Zhao (created 617), later the Prince of Qin (created 618), later the Crown Prince (created 626), later Emperor Taizong of Tang
      Emperor Taizong of Tang
      Emperor Taizong of Tang , personal name Lǐ Shìmín , was the second emperor of the Tang Dynasty of China, ruling from 626 to 649...

    • Li Xuanba (李玄霸) (599-614), died early without issue, posthumously honored 618 as Prince Huai of Wei
    • Li Yuanji
      Li Yuanji
      Li Yuanji , formally Prince La of Chao , more commonly known by the title of Prince of Qi , nickname Sanhu , was an imperial prince of the Chinese Tang Dynasty...

       (李元吉), initially the Duke of Guzang (created 617), later the Duke of Qi (created 617), later the Prince of Qi (created 618, killed by Li Shimin
      Emperor Taizong of Tang
      Emperor Taizong of Tang , personal name Lǐ Shìmín , was the second emperor of the Tang Dynasty of China, ruling from 626 to 649...

       626)
    • Li Zhiyun (李智雲) (603-617), executed by Sui Dynasty
      Sui Dynasty
      The Sui Dynasty was a powerful, but short-lived Imperial Chinese dynasty. Preceded by the Southern and Northern Dynasties, it ended nearly four centuries of division between rival regimes. It was followed by the Tang Dynasty....

       official Yin Shishi (陰世師), posthumously created the Duke of Chu 617, posthumously created Prince Ai of Chu 618
    • Li Yuanjing (李元景), initially the Prince of Zhao (created 620), later the Prince of Jing (created 636, reduced to commoner rank and forced to commit suicide by Emperor Gaozong of Tang
      Emperor Gaozong of Tang
      Emperor Gaozong of Tang , personal name Li Zhi , was the third emperor of the Tang Dynasty in China, ruling from 649 to 683...

       653), later posthumously created the Prince of Shenli
    • Li Yuanchang (李元昌), initially the Prince of Lu (created 620), later the Prince of Han (created 636, forced to commit suicide by Emperor Taizong of Tang
      Emperor Taizong of Tang
      Emperor Taizong of Tang , personal name Lǐ Shìmín , was the second emperor of the Tang Dynasty of China, ruling from 626 to 649...

       643)
    • Li Yuanheng (李元亨), the Prince of Feng (created 620, d. 632)
    • Li Yuanfang (李元方), the Prince of Zhou (created 621, d. 629)
    • Li Yuanli (李元禮), initially the Prince of Zheng (created 621), later the Prince of Xu (created 636, d. 672)
    • Li Yuanjia (李元嘉) (b. 619), initially the Prince of Song (created 621), later the Prince of Xu (created 621), later the Prince of Han (created 636, executed by Wu Zetian
      Wu Zetian
      Wu Zetian , personal name Wu Zhao , often referred to as Tian Hou during the Tang Dynasty and Empress Consort Wu in later times, was the only woman in the history of China to assume the title of Empress Regnant...

       688)
    • Li Yuanze (李元則), initially the Prince of Jing (created 621), later Prince Si of Peng (created 636, d. 651)
    • Li Yuanyi (李元懿), initially the Prince of Teng (created 621), later Prince Hui of Zheng (created 636, d. 673)
    • Li Yuangui (李元軌), initially the Prince of Shu (created 623), later the Prince of Wu (created 625), later the Prince of Huo (created 636, died in exile 688)
    • Li Feng (李鳳) (b. 623), initially the Prince of Bin (created 623), later Prince Zhuang of Guo (created 626, d. 674)
    • Li Yuanqing (李元慶), initially the Prince of Han (created 623), later the Prince of Chen (created 625), later Prince Xiao of Dao (created 636, d. 664)
    • Li Yuanyu (李元裕), initially the Prince of Gui (created 631), later Prince Kang of Deng (created 637, d. 665)
    • Li Yuanming (李元名), initially the Prince of Qiao (created 631), later the Prince of Shu (created 637, executed by Wu Zetian
      Wu Zetian
      Wu Zetian , personal name Wu Zhao , often referred to as Tian Hou during the Tang Dynasty and Empress Consort Wu in later times, was the only woman in the history of China to assume the title of Empress Regnant...

       689)
    • Li Lingkui (李靈夔), initially the Prince of Wei (created 631), later the Prince of Yan (created 636), later the Prince of Lu (created 640, committed suicide 688)
    • Li Yuanxiang (李元祥), initially the Prince of Xu (created 631), later Prince An of Jiang (created 637, d. 680)
    • Li Yuanxiao (李元曉), Prince Zhen of Mi (created 631, d. 676)
    • Li Yuanying (李元嬰), the Prince of Teng (created 639, d. 684)
    • Princess Changsha
    • Princess Xiangyang
    • Princess Zhao of Pingyang (d. 623)
    • Princess Gaomi (d. 655)
    • Princess Guiyang, later Princess Changguang
    • Princess Wanchun, later Princess Changsha
    • Princess Yongjia, later Princess Fangling
    • Princess Jiujiang
    • Princess Lujiang
    • Princess Nanchang
    • Princess Anping
    • Princess Huainan
    • Princess Zhending
    • Princess Hengyang
    • Princess Danyang
    • Princess Linhai
    • Princess Guantao
    • Princess Qianjin, later Princess Anding
    • Princess Changle (committed suicide 688)

Ancestry


|- style="text-align: center;"
|-
|-

|-
|-
|-
|-
|-
|-
|-

|-
|-
|-
|-
|-
|-
|- style="text-align: center;"

Sources

  • Book of Tang
    Book of Tang
    The Book of Tang , Jiu Tangshu or the Old Book of Tang is the first classic work about the Tang Dynasty. The book began when Gaozu of Later Jin ordered its commencement in 941...

    , vol. 1.
  • New Book of Tang
    New Book of Tang
    The New Book of Tang , is a classic work of history about the Tang Dynasty edited by Ouyang Xiu and Song Qi and other official scholars of the Song Dynasty. The emperor called for a revision of the former Book of Tang in 1044. The New Book was presented to the throne in 1060. It was given its...

    , vol. 1.
  • Zizhi Tongjian
    Zizhi Tongjian
    The Zizhi Tongjian was a pioneering reference work in Chinese historiography, published in 1084, under the form of a chronicles. In 1065 CE, Emperor Yingzong of Song ordered the great historian Sima Guang to lead with other scholars such as his chief assistants Liu Shu, Liu Ban and Fan Zuyu, the...

    , vols. 175, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194.
The source of this article is wikipedia, the free encyclopedia.  The text of this article is licensed under the GFDL.
 
x
OK