Xuanwu Gate Incident
Get Xuanwu Gate Incident essential facts below. View Videos or join the Xuanwu Gate Incident discussion. Add Xuanwu Gate Incident to your PopFlock.com topic list for future reference or share this resource on social media.
Xuanwu Gate Incident
Xuanwu Gate Incident
A painting of Li Shimin as Emperor Taizong
Date2 July 626
Palace City, East Palace, and Forbidden Park in and around Chang'an, China

Successful coup d'état by Prince Li Shimin

  • Prince Li Shimin and his close followers gain complete control of the Tang government.
  • Prince Li Shimin becomes heir to the imperial throne.
  • Emperor Gaozu eventually abdicates in favor of Prince Li Shimin.
Commanders and leaders
Li Shimin
Yuchi Jingde
Chang He
...and others
Li Jiancheng  
Li Yuanji 
...and others
Chinese name
Traditional Chinese
Simplified Chinese

The Xuanwu Gate Incident was a palace coup for the throne of the Tang dynasty on 2 July 626,[a] when Prince Li Shimin (Prince of Qin) and his followers assassinated Crown Prince Li Jiancheng and Prince Li Yuanji (Prince of Qi). Li Shimin, the second son of Emperor Gaozu, was in an intense rivalry with his elder brother Li Jiancheng and younger brother Li Yuanji. He took control and set up an ambush at Xuanwu Gate, the northern gate leading to the Palace City[b] of the imperial capital Chang'an. There, Li Jiancheng and Li Yuanji were murdered by Li Shimin and his men. Within three days after the coup, Li Shimin was installed as the crown prince. Emperor Gaozu abdicated another sixty days later and passed the throne to Li Shimin, who would become known as Emperor Taizong.


After the founding of the Tang dynasty by Emperor Gaozu, the emperor's eldest son Li Jiancheng was established as the heir apparent, but he was often overshadowed by his younger brother Li Shimin.[1] For instance, Li Shimin was instrumental in defeating several of Tang's major rivals.[2] He had led the attack on Dou Jiande and Wang Shichong, whom he defeated in battle, which gained him prestige among his contemporaries.[3] Meanwhile, Li Jiancheng was stationed along the northern frontier to guard it against the Tujue, which left him unable to build up a similar reputation.[3] Eventually, Emperor Gaozu elevated Li Shimin's position above all other nobles.[3] He also placed Li Shimin in charge of the civil and military administration of the eastern plain, with Luoyang as its headquarters.[4] There, Li Shimin established himself and appointed about fifty civil and military officials, which made it possible for him to challenge the heir apparent's pre-eminence.[5] In 621, he established the College of Literary Studies with a staff of eighteen scholars to serve as his advisors on state affairs.[5] This may have insinuated in Li Jiancheng's mind that Li Shimin could harbor ambition to ascend to the throne himself.[5] Henceforth, Li Jiancheng attempted to undermine Li Shimin by getting his staff members removed and reassigned to other posts.[5]

Prince Li Shimin found himself unable to gain support in the capital Chang'an or inside the imperial palaces, as he was often away on military expeditions.[5] He mostly relied on Luoyang where he could successfully build strong support among military and civil officials.[5] Meanwhile, in Chang'an, Crown Prince Li Jiancheng was increasing his power by recruiting more than two thousand men to serve in the Changlin troops, which he stationed at the East Palace[c] near the Changlin Gate.[5] He was also allied with his second younger brother Prince Li Yuanji.[5] They had the support of Emperor Gaozu's consorts, who often interceded with court affairs on behalf of the two princes.[5]

There were allegations that Yang Wengan () was raising troops for Li Jiancheng--who was left in charge of the capital while Emperor Gaozu was away in his summer palace--to stage a coup for the throne.[6] Whether Li Jiancheng was actually involved is still disputed among historians.[5] Yang Wengan was the regional commander of Qingzhou in Gansu and a former guard of Li Jiancheng at the East Palace.[5] The plot was disclosed to the authorities, so Li Jiancheng was summoned from Chang'an and Yang Wengan was summoned from his garrison post.[5] Li Jiancheng went to seek forgiveness against the advice of a subordinate to seize the throne.[7] In contrast, Yang Wengan raised his troops and rebelled in the 6th month of 624.[7] Emperor Gaozu sent Li Shimin to put down the rebellion, but Yang's own subordinates killed him after the imperial forces arrived at the scene.[6] Emperor Gaozu initially offered Li Shimin the position of heir apparent in light of Yang's rebellion.[6] However, Li Jiancheng's supporters, Li Yuanji, the palace ladies, and Minister Feng Deyi interceded to clear Li Jiancheng from the affair.[6] Thus, Emperor Gaozu allowed Li Jiancheng to remain the heir apparent, but exiled some of Li Jiancheng's advisors and at least one member of Li Shimin's staff.[6]

Some canonical texts have asserted that prior to the coup, Prince Li Shimin survived a poisoning attempt by his two brothers.[8] According to the Jiu Tangshu, it happened prior to 626, while the Zizhi Tongjian dates it to the 6th lunar month of 626, placing it within three days of the coup.[8]Bingham (1950a) states that the latter interpretation is most probably the one to be incorrect, since the poisoning had rendered Li Shimin seriously ill.[8] It is still disputed when or whether this poisoning actually happened.[9] Crown Prince Li Jiancheng and Prince Li Yuanji successfully plotted the dismissal of Fang Xuanling and Du Ruhui, Li Shimin's principal advisors, from service.[6] Li Shimin's general Yuchi Jingde escaped an assassination attempt ordered by the two princes, but he was later slandered by the two princes at court and came near execution if it had not been for Li Shimin's intercession.[6] By 626, Li Shimin became increasingly worried by his brothers' successful machinations in turning Emperor Gaozu against him and in removing his staff members.[6]

Events leading to the incident

Early 626, the Tujue attacked the frontier of the Tang empire.[6] At Li Jiancheng's recommendation, Li Yuanji was commissioned for a military campaign against these hostile forces, thus Li Shimin's best generals and crack troops were transferred to Li Yuanji.[10] Thereafter, Li Shimin received word from his men that Li Jiancheng and Li Yuanji had taken preparations to assassinate him when he would see off Li Yuanji as was the custom during the onset of a military campaign.[9]

Li Shimin decided to take action and planned to dispose of his two brothers at the advice of his subordinates, especially Zhangsun Wuji, Fang Xuanling, Du Ruhui, Yuchi Jingde, and Hou Junji.[11] Li Shimin sent Zhangsun to recall his two most important advisors Fang Xuanling and Du Ruhui to help plan the course of action.[12] After being summoned in secrecy, Fang and Du disguised themselves as Taoist priests and traveled to Li Shimin's camp to discuss the strategy.[9] Li Shimin also bribed Chang He (), who at the time was the military commander guarding the Xuanwu Gate, into following his orders.[9] Few years prior, Chang had been an officer under Li Shimin, but he was eventually reassigned to a key position at the Xuanwu Gate in 624.[13]

Eventually, Li Shimin submitted a message to his father, Emperor Gaozu, accusing Li Jiancheng and Li Yuanji of having illicit affairs with several consorts of the emperor.[9][12] After receiving the message, Emperor Gaozu summoned Li Shimin to come for an audience the following morning.[12] The emperor also requested for his personal advisors Pei Ji, Xiao Yu, Chen Shuda, Feng Lun, and Yan Shigu to come.[12] However, Consort Zhang () learned of Li Shimin's accusations and informed Li Jiancheng.[14] Li Jiancheng summoned Li Yuanji to deliberate together on how to deal with the difficult situation.[13] Li Yuanji opted to not attend the imperial court that morning, but to excuse themselves due to "illness" and prepare the troops, so they could observe the situation.[15] However, Li Jiancheng said that the troops were already prepared and wanted to leave for the Palace City to hear first-hand what was amiss.[15] While Li Jiancheng and Li Yuanji left at dawn to consult Emperor Gaozu personally,[9][12] Li Shimin and his followers had taken control over Xuanwu Gate.[9]

Coup d'état

On the dawn of 2 July 626, Prince Li Shimin and his followers arrived at the Xuanwu Gate,[d] where they awaited the arrival of Crown Prince Li Jiancheng and Prince Li Yuanji.[16] Chang He, a military officer stationed at Xuanwu Gate, also led his troops in support of Li Shimin on the day of the coup.[13] As Li Jiancheng and Li Yuanji approached the Linhu Hall,[e] they began to realize that a coup was about to unfold and immediately retreated eastward.[17] Li Shimin rode towards his brothers and hailed them.[17] Hereupon, Li Yuanji attempted to draw his bow to fire his arrows at Li Shimin, but he did not manage to draw it.[17] Li Shimin started to fire his arrows at Li Jiancheng and killed him.[17]

Yuchi Jingde and 70 horsemen caught up with Li Yuanji and shot at him, causing Li Yuanji to fall from his horse.[17] However, Li Shimin's horse fled into the woods and became entangled with tree branches, which led to Li Shimin falling off his horse too and being unable to get up.[17] Li Yuanji quickly grabbed Li Shimin's bow and tried to strangle his brother with it.[17] However, Yuchi Jingde arrived and shouted at him, so Li Yuanji fled on foot to Wude Hall.[f][17] Nevertheless, Yuchi Jingde overtook Li Yuanji and killed him with his arrows.[17] Following the deaths of Li Jiancheng and Li Yuanji, while Li Shimin's forces held Xuanwu Gate under their control, fighting broke out between the two armed factions.[17] When Yuchi Jingde arrived with the heads of the two princes, their retainers quickly dispersed with their troops.[17]

During the morning of the coup, as stated by Bingham (1950b), Li Jiancheng and Li Yuanji probably left from the East Palace through its northern gate and traveled westwards through the Forbidden Park[g] towards the Xuanwu Gate, while Li Shimin probably left from the Hongyi Palace[h] and traveled through the Forbidden Park towards the Xuanwu Gate.[18]


Emperor Gaozu was sailing on a lake inside the Palace City during the time of the coup.[17][19]Bingham (1950a) speculates that the emperor was alarmed by the impending crisis, thus he withdrew himself from the situation.[17] He also surrounded himself with senior officials who were friendly to Li Shimin, because he possibly realized that Li Shimin was the cause of the unfolding events and had better military connections that provided him with the advantage.[17] The officials were Pei Ji, Xiao Yu, Chen Shuda, Feng Lun, Yan Shigu, Dou Dan (), and Yuwen Shiji.[12] During the ongoing battle, according to the Jiu Tangshu and Zizhi Tongjian, Li Shimin sent Yuchi Jingde fully armed into the Palace City to announce the news of the situation to Emperor Gaozu.[19][20] Emperor Gaozu asked who was disturbing the peace and why he came, whereupon Yuchi Jingde replied that the Prince of Qin had taken arms to execute the heir apparent, the Prince of Qi, who was disturbing the peace and, apprehensive that his majesty would be alarmed, sent him to stand guard.[21] The sources agree that Emperor Gaozu was satisfied by Yuchi Jingde's answer.[21] The Zizhi Tongjian adds that Emperor Gaozu asked his officials what ought to be done as he had not anticipated the events.[21] Two of them spoke highly meritoriously of Li Shimin and said that the killings of the two princely brothers served as a punishment.[21] They also recommended Emperor Gaozu to appoint Li Shimin as the heir apparent.[21]

Even though Li Shimin had come out victorious, he still needed a positive appraisal for his conduct from the emperor to prevent further internal conflict.[21] At Yuchi's advice, Emperor Gaozu issued an imperial edict ordering the remaining forces to stop their resistance and submit to Li Shimin.[21] In the end, Li Shimin had taken full control over the Tang government.[2][19] Within three days, Emperor Gaozu named Li Shimin the heir apparent.[19][21] On the 9th day of the 8th month, he abdicated in favor for Li Shimin.[19] He became a Taishang Huang (Retired Emperor) himself, only appearing in public sometimes to attend ceremonial functions at court.[19]

The reconstructed Danfeng Gate of the Daming Palace, a palatial complex built as a home for Emperor Taizong's father, the former Emperor Gaozu

In 632, Ma Zhou charged that the retired Emperor Gaozu had settled in the Da'an Palace,[i] which he considered an inhospitable place as it was built on low-lying lands at Chang'an that were plagued by dampness and heat during the summer.[19] According to him, ever since Emperor Taizong moved to the countryside during the summers, his retired father was left behind in Chang'an to suffer in the summer heat.[19] However, his father would always decline any invitation to spend the summer together when Emperor Taizong eventually did invite him.[19] Ma Zhou also charged that Emperor Taizong had not visited his father for a long time even though they lived nearby each other.[19] Ever since the bloody palace coup, it seemed that father and son had drifted apart to such an extent that their relationship never healed.[19] In 634, Emperor Taizong launched the construction of the Daming Palace.[22] He ordered the construction of the new summer palace as a residence for his father,[23] but Emperor Gaozu grew ill and never witnessed the palace's completion before his death in the 5th month of 635.[19]


  1. ^ According to historical Chinese sources, it took place on the 4th day of the 6th month during the 9th year of the Wude () reign, which translates to 2 July 626 (Bingham 1950a, 90).
  2. ^ The Palace City () is located in the northernmost central part of Chang'an. In later years, it was known as the West Inner [Palace] () and the Taiji Palace (), but the latter designations were not used at the time of the coup. (Bingham 1950b, 261)
  3. ^ The East Palace () adjoined the Palace City to the east and served as the residential compound of Crown Prince Li Jiancheng (Bingham 1950b, 268).
  4. ^ The Xuanwu Gate () was the northern central gateway to the Palace City and Chang'an (Bingham 1950b, 261-262).
  5. ^ The location of the Linhu Hall () is not known (Bingham 1950b, 269).
  6. ^ The Wude Hall () was inside the eastern section of the Palace City and served as the residence of Prince Li Yuanji (Bingham 1950b, 266).
  7. ^ The Forbidden Park () was directly north of Chang'an and the Palace City (Bingham 1950b, 261-262).
  8. ^ The Hongyi Palace () was located inside the Forbidden Park to the north of Chang'an and served as the residence of Price Li Shimin (Bingham 1950b, 267)
  9. ^ After 629, the Hongyi Palace was called the Da'an Palace () (Bingham 1950b, 269).


  1. ^ Bingham 1950a, 89-90.
  2. ^ a b Bingham 1950a, 90.
  3. ^ a b c Wechsler 1979, 182.
  4. ^ Wechsler 1979, 182-183
  5. ^ a b c d e f g h i j k l Wechsler 1979, 183.
  6. ^ a b c d e f g h i Wechsler 1979, 184.
  7. ^ a b Wechsler 1979, 183-184.
  8. ^ a b c Bingham 1950a, 91.
  9. ^ a b c d e f g Wechsler 1979, 185.
  10. ^ Wechsler 1979, 184-185.
  11. ^ Bingham 1950a, 91-92.
  12. ^ a b c d e f Bingham 1950a, 92.
  13. ^ a b c Bingham 1950a, 93.
  14. ^ Bingham 1950a, 92-93.
  15. ^ a b Bingham 1950a, 93-94.
  16. ^ Bingham 1950b, 259.
  17. ^ a b c d e f g h i j k l m n Bingham 1950a, 94.
  18. ^ Bingham 1950b, 270.
  19. ^ a b c d e f g h i j k l Wechsler 1979, 186.
  20. ^ Bingham 1950a, 94-95.
  21. ^ a b c d e f g h Bingham 1950a, 95.
  22. ^ Chen 2010, 275.
  23. ^ Chung 1990, 23.


  • Bingham, Woodbridge (1950a). "Li Shih-min's coup in A. D. 626. I: The climax of princely rivalry". Journal of the American Oriental Society. 70 (2): 89-95. doi:10.2307/595537. JSTOR 595537.
  • Bingham, Woodbridge (1950b). "Li Shih-min's coup in A. D 626. II: Action at the Hsüan-wu Gate". Journal of the American Oriental Society. 70 (4): 259-271. doi:10.2307/594964. JSTOR 594964.
  • Chen, Jack W. (2010). The poetics of sovereignty: On Emperor Taizong of the Tang Dynasty. Cambridge: Harvard University Asia Center. ISBN 978-0-674-05608-4.
  • Chung, Saehyang P. (1990). "A Study of the Daming Palace: Documentary Sources and Recent Excavations". Artibus Asiae. 50 (1/2): 23-72. doi:10.2307/3250086. JSTOR 3250086.
  • Wechsler, Howard J. (1979). "The Founding of the T'ang Dynasty: Kao-tsu (Reign 618-26)". In Twitchett, Dennis (ed.). The Cambridge History of China, Volume 3: Sui and T'ang China, 589-906, Part I. Cambridge: Cambridge University Press. pp. 150-187. ISBN 978-0-521-21446-9.

  This article uses material from the Wikipedia page available here. It is released under the Creative Commons Attribution-Share-Alike License 3.0.



Music Scenes