The Tang Code


Codification and the 653 Commentary

The Tang Code (Tanglü Shuyi, 唐律疏议) is the oldest surviving complete legal code in Chinese history and the cornerstone of traditional East Asian jurisprudence. Building upon the Wude Code of 624 and the Zhenguan Code revised by Fang Xuanling in 637, Emperor Gaozong commissioned Chancellor Zhangsun Wuji and a team of jurists to compile an authoritative, article-by-article commentary alongside the statutory text.

Promulgated in 653, the resulting twelve-chapter, 502-article code—divided into General Principles (Mingli) and eleven specific topical books ranging from imperial security and administrative offenses to household law, theft, and judicial procedure—remained the bedrock of imperial law for over seven centuries.

Synthesis of Confucian Morality and Legalist Law

The intellectual triumph of the Tang Code lay in its fusion of two ancient Chinese traditions: Confucian ritual ethics (Li, 礼) and Legalist statutory punishment (Fa, 法). As the code’s preface famously declared, “Virtue and ritual are the root of government and education; punishments and laws are their instruments.”

Rather than treating all individuals as abstract legal equals, the code calibrated penalties according to social relationship, seniority, and official status:

  • The Ten Abominations (Shi’e, 十恶): Ten capital offenses deemed subversive to cosmic and social order—including plotting rebellion, treason, parricide, and unfilial conduct—which were excluded from general amnesties.
  • Family Hierarchy: Striking or slandering a senior relative incurred far heavier penalties than the same act committed against a stranger, whereas a parent disciplining a disobedient child faced minimal or no criminal liability.
  • The Eight Deliberations (Bayi, 八议): High officials, members of the imperial clan, and individuals of distinguished merit were entitled to special imperial review before sentences could be executed.

The Five Punishments and Judicial Safeguards

The Tang Code standardized the Five Punishments (Wuxing, 五刑) into twenty graduated degrees of severity:

  1. Chi (笞): Beating with a light bamboo rod (10 to 50 blows).
  2. Zhang (杖): Beating with a heavy bamboo rod (60 to 100 blows).
  3. Tu (徒): Penal servitude (1 to 3 years of hard labor).
  4. Liu (流): Life exile to distant frontier regions (2,000 to 3,000 li away).
  5. Si (死): Death by strangulation (Jiao, preserving the intact body) or decapitation (Zhan).

Crucially, the code also imposed strict procedural checks on magistrates. Judges were legally penalized for misquoting statutes, torture during interrogation was capped and regulated, and every death sentence in the empire required three separate memorials to the throne (Sanfuzou, 三复奏) before execution—a safeguard instituted by Emperor Taizong to prevent hasty judicial killings.

Reflecting Chang’an’s status as a cosmopolitan hub, Article 48 of the General Principles established a clear conflict-of-laws rule for foreign merchants and envoys (Huawai Ren, 化外人): disputes between foreigners of the same nationality were adjudicated according to their own native customary laws, whereas disputes involving different nationalities or Tang subjects were tried under the Tang Code.

Influence Across East Asia

The clarity and structural rigor of the Tang Code made it the legislative template for neighboring states across the Sinosphere. Japan’s Taihō Code (701) and Yōrō Code (718) adopted its penal and administrative architecture almost verbatim, while Korea’s Goryeo dynasty and Vietnam’s Lý and Trần dynasties modeled their own statutory codes directly upon it. Within China, its provisions were carried forward largely intact into the Song, Ming, and Qing codes.

References & Historical Sources

  • Zhangsun Wuji (长孙无忌) et al., Tanglü Shuyi (唐律疏议), 653.
  • Jiu Tang Shu (旧唐书), juan 50 (Treatise on Punishments and Law).
  • Wallace Johnson, trans., The T’ang Code, Volume I: General Principles (Princeton University Press, 1979) & Volume II: Specific Articles (1997).

CONNECTED ARCHIVES

Further Reading & Related Entries