Skip to main content

Primary sourceDocument624, revised 627 and 637

Tang Code

624, revised 627 and 637

The Tang dynasty's major penal code, first created in 624 and revised under Emperor Taizong's influence, later becoming the model legal code across East Asia.

Taizong's revisions to this code in 637 softened its punishments, shaping one of his lasting legal legacies.

Free Humy account · No credit card · 120,912 sources to read

Tang Code, 624, revised under Emperor Taizong 627 and 637.

About this source

What it is

The Tang Code was a penal code first created in 624 at the request of Emperor Gaozu, then revised in 627 and 637 under the influence of his son Emperor Taizong, and finally completed with commentary in 653 under Emperor Gaozong. It combined over 500 articles across twelve sections, blending Legalist and Confucian ideas about law and punishment.

Why it matters

It is considered one of the greatest achievements of traditional Chinese law and the earliest Chinese code to survive complete, shaping later legal codes across East Asia. Taizong's revisions aimed to soften harsh punishments, reflecting how he sought to stabilise and legitimise Tang rule after a period of conflict.

Look closer

  • Why might a new dynasty want to revise its laws to be less harsh soon after taking power?
  • What does the code's different punishments for different social ranks tell you about Tang society?
  • What questions does a legal code leave unanswered about how laws were actually enforced?

This document is part of the curated material that grounds the AI version of Taizong of Tang on Humy.ai — when students ask about related events, the AI can quote it and cite it.

Ready when you are

Start chatting with Taizong of Tang now.

20 messages free · No credit card · Available in 50+ languages.