← history
Read stories →
July 2, AD 626

Xuanwu Gate Incident

Xuanwu Gate coup: Li Shimin kills his rival brothers

Politics
Xuanwu Gate Incident View full image ↗
Illustration generated by Ideogram 4 (fp8) (12 steps, 1216x832) on an NVIDIA RTX 5090 · 2026-08-27
How was this image made?

The creative brief sent to the image model. These are instructions, not a record of what actually happened.

Original prompt & settings (JSON) ↗

Li Yuanji reportedly tried to strangle his fallen brother with Li Shimin’s own bow, before Yuchi Jingde arrived.

Dawn at the gate

At dawn in Chang’an on 2 July 626, Li Shimin and his supporters occupied Xuanwu Gate, the northern entrance to the Tang palace complex, and waited for Crown Prince Li Jiancheng and Prince Li Yuanji.

When the brothers detected the ambush and turned back, Li Yuanji reportedly tried unsuccessfully to draw his bow; Li Shimin shot and killed Li Jiancheng.

Yuchi Jingde pursued Li Yuanji with seventy horsemen. After Li Shimin fell from his horse and Li Yuanji tried to strangle him with his bow, Yuchi intervened and killed Li Yuanji.

Heads at the gate

Fighting continued at the gate until the severed heads of Li Jiancheng and Li Yuanji were displayed, at which their remaining troops dispersed.

Yuchi Jingde then entered the palace armed and informed Emperor Gaozu of the killings — a separate episode in the surviving narrative from the display of the heads.

Gaozu ordered the remaining forces to obey Li Shimin, giving the coup immediate official effect.

Not a farewell, and not yet a throne

Li Shimin did not travel to Chang’an that morning. He already kept a residence in the capital’s Forbidden Park, and the farewell to Li Yuanji was a planned future ceremony rather than a journey he completed.

The traditional narrative says he learned beforehand that his brothers intended to kill him at that ceremony, accused them before Gaozu, and induced the emperor to summon them.

He became crown prince within three days; his accession as emperor followed on 3 September 626.

Sources

Researched 23 Aug 2026 5 sources not yet audited

How this was checked

Researched from the web into a fact sheet and rewritten from that sheet. This article has not yet had an independent model audit. How the pipeline works →

What the sources leave uncertain

  • The date is well established by the Chinese record—Wude 9, sixth month, fourth day—and its conversion to 2 July 626.
  • Much of the detailed narrative comes through official Tang histories shaped under Li Shimin’s rule. Allegations that his brothers poisoned him or had finalized a murder plot remain disputed.
  • Modern scholarship questions whether the coup was simply a defensive response; it also reflected a collision among the separate political and military power bases of Gaozu, Li Jiancheng and Li Shimin.

Checked against