The Imperial Legal Code and Justice in China

The Chinese empire had one of the most continuous legal traditions of any pre-modern state. The codes of the Tang, Song, Ming, and Qing are recognisably the same body of law, in the same general structure, with the same basic categories of crime and the same scale of punishments. The Tang Code of 624 CE, promulgated by the founder of the Tang dynasty, is the ancestor of the Great Qing Code of 1740, which remained in force until the final abolition of the imperial system in 1912. In between, the legal codes of Korea, Japan, and Vietnam were directly modelled on the Tang example, and the East Asian legal tradition is recognisably a Chinese tradition. The continuity is striking. The Roman law tradition was interrupted for centuries in western Europe; the Chinese legal tradition, by contrast, was never substantially broken.

This section examines the imperial legal code and the administration of justice, covering the structure and content of the codes, especially the Tang and Qing; the role of the county magistrate as judge; criminal procedure, including investigation, interrogation, and review; family law and the place of Confucian morality in the legal system; the relationship between law and the imperial cult; and the legacy of the imperial legal tradition in modern East Asia. The section is part of our broader survey of Chinese government and bureaucracy, and the two other legs of the imperial state — the imperial examination system that recruited the official class and the provincial administration that ran the localities — are treated in their own clusters.

The Codes

The earliest systematic code of imperial China was the Qin Code, much of which survives in fragments excavated in 1975 at Shuihudi in Hubei. The Qin Code, in the Legalist tradition, was detailed, harsh, and applied equally to commoners and officials. The Han preserved most of the Qin Code but tempered it with Confucian principles, and the Nine Chapters of Law (九章律, jiǔzhāng lǜ), promulgated in 199 CE under Cao Wei, became the basis of subsequent codes.

The Tang Code of 624 CE, drawn up under the direction of the chancellor Xiao Wang and revised by subsequent Tang emperors, was the most influential of the imperial codes. It ran to 502 articles in twelve chapters, plus a series of subsidiary ordinances. It classified crimes, fixed punishments, and laid out the procedures by which officials were to investigate and judge cases. It was posted at the gates of government offices, and copies were distributed to officials throughout the empire. It is detailed in our focused article on the Tang legal code.

The Tang Code was the ancestor of the Great Qing Code of 1740, which added many new statutes, commentaries, and precedents, but preserved the overall Tang structure. The Great Qing Code, compiled by a committee of scholars under the direction of the Qianlong emperor, ran to 4,366 articles, with a much larger body of supplementary regulations. It was translated into English by Sir George Thomas Staunton in 1810, and the Staunton translation remains a standard reference for non-specialists.

The codes were not theoretical documents. They were administrative tools, written for officials to apply, and they are arranged in a strictly practical form: each article states a crime, the conditions under which it applies, and the punishment. There is very little general theory, very little statement of principle, and very little appeal to natural law. The legal system was a system of rules, not a system of doctrines.

Punishments

The imperial codes used a graded scale of punishments, drawn from a tradition that went back to the Qin. The list varied somewhat across dynasties, but the basic structure was stable: a hierarchy of corporal punishments, exile, and death.

The lightest were the beating with the light stick (笞, chī) and the beating with the heavy stick (杖, zhàng), applied to minor offences. The next level was the forced labour for a fixed term (徒, ), a punishment of up to three years of labour on state works. Above that was exile (流, liú), at distances that varied with the severity of the crime, sometimes to the distant south-west or to the frontier with Manchuria. The death penalty was divided into two main categories: strangulation (絞, jiǎo) and decapitation (斬, zhǎn), the former considered the more honourable of the two. There were also aggravated forms, including death by a thousand cuts (凌遲, língchí) reserved for the most serious crimes such as treason and parricide.

The codes were strict about the application of these punishments. Sentences had to fit the article in the code. A magistrate who deviated from the code could be punished himself. The principle of equal application was never fully realised in practice — officials and members of the privileged classes could commute sentences, and bribery was common — but the existence of a published code was itself a constraint on arbitrary rule.

A distinctive feature of the Chinese system was the use of redemption (贖, shú). Members of the privileged classes, and commoners in certain cases, could pay a fine in copper cash or in grain to commute a sentence. The system was controversial. Critics pointed out that it allowed the rich to escape punishment; defenders argued that it gave the state flexibility and preserved the social hierarchy.

The County Magistrate as Judge

The administration of justice in imperial China was, in the great majority of cases, the work of the county magistrate. The magistrate was a civil official appointed by the central government, and his duties included hearing both criminal and civil cases, investigating complaints, and issuing judgments. He was not a judge in the modern sense — he was the chief local representative of the imperial state, and he combined the duties of judge, prosecutor, defence counsel, and chief of police.

The magistrate held court on a regular schedule, often once every few days, in the main hall of the county yamen (county office). Cases were opened with the presentation of a complaint, often in writing, and the magistrate would summon the parties and the witnesses. Trials were public, in the sense that the audience hall was open to the public, but they were not adversarial in the modern sense. The magistrate actively investigated the case, asked questions, examined evidence, and consulted the code.

Most cases were civil: disputes over land, inheritance, marriage, debt, and contract. The magistrate would attempt to mediate a settlement, in keeping with the Confucian preference for harmony over adversarial resolution. When mediation failed, he would issue a judgment in accordance with the code. Criminal cases — assault, robbery, murder, theft — were more serious, and the magistrate had the power to inflict corporal punishment, exile, and (with the approval of higher officials) the death penalty.

The magistrate’s role as judge is one of the most striking features of the Chinese administrative system. The Western visitor who encountered it in the nineteenth century often remarked on its difference from European practice: there was no independent judiciary, no professional bar, no jury. There was the magistrate, with his assistants and clerks, working from a published code, under the supervision of higher officials. The system produced, in most provinces and most periods, a reasonable degree of justice. It also produced, periodically, gross miscarriages, especially in cases of political crime.

Criminal Procedure

Criminal procedure in imperial China combined elements of investigation, interrogation, and review. The investigation was normally conducted by the magistrate, sometimes with the help of assistants and constables. The interrogation could involve torture, especially in serious cases, and the codes specified the number of strokes that could be administered. The review was conducted by higher officials, with the most serious cases — including all death sentences — being referred upward to the prefecture, the province, and ultimately the emperor.

The principle of avoiding wrongful conviction was a major theme of the legal tradition. The codes required that confessions be corroborated by physical evidence, and that serious crimes be established by multiple witnesses. Magistrates who extracted false confessions by torture could be punished, and there were famous cases in which corrupt magistrates were executed for fabricating evidence.

The system was not, however, impartial in the modern sense. The codes weighted evidence according to the social rank of the parties. Statements by officials counted for more than those by commoners; the testimony of older men counted for more than that of younger men; the testimony of men counted for more than that of women. These biases were not accidental but were considered part of the natural social order, and they reflected the Confucian moral framework that underpinned the whole legal system.

Family Law and Confucian Morality

The codes gave special prominence to the family. The patriarch was held responsible for the conduct of his household, and the violation of hierarchical relationships within the family — striking a parent, for example, or failing to mourn a parent for the prescribed period — was treated as a serious crime. Conversely, the codes gave the patriarch considerable authority over his dependents, including the right to inflict corporal punishment and (in some periods) to sell daughters into marriage.

The relationship between law and Confucian morality is one of the deepest questions in Chinese legal history. Critics have argued that the codes were an instrument of [Confucian] repression, used to enforce patriarchal authority and to suppress dissent. Defenders have pointed out that the codes were published, that they applied in principle to all subjects, that they contained protections for the weak (against kidnapping, for example, and against the sale of children), and that the Confucian framework gave the system a moral coherence that purely procedural legal systems lack. The truth is probably that the system worked reasonably well in stable periods and reasonably poorly in times of crisis, and that the abuses of the legal system were in part a consequence of the broader political failures of the late imperial period.

The Place of Law in Confucian Government

Law in imperial China was never conceived as a separate realm, distinct from morality and politics. The codes were an instrument of Confucian government, designed to maintain the social order that Confucians considered natural and right. Law was meant to harmonise with li (禮, ritual propriety), the moral norms of Confucian society, and the codes referred explicitly to li in many articles. Where li was sufficient — in the case of minor disputes within a family, for example — the law was supposed to defer. Where li was insufficient — in cases of major crime, of treason, of rebellion — the law was to be applied with full force.

This relationship was expressed in the famous Confucian formulation of the Five Punishments (五刑, wǔxíng) and the Five Relationships (五倫, wǔlún). The codes upheld the Five Relationships — ruler-subject, father-son, husband-wife, elder-younger, friend-friend — and assigned punishments to their violation. The system was, in this sense, a moral legalism: it used legal tools to enforce a moral order.

The philosophical underpinnings of this arrangement were set out by Confucius and Mencius, developed by Han Yu and the Tang Confucians, and refined by the Song Neo-Confucians. The system was criticised from within China, especially by the Legalist tradition in its later phases, and by the late Qing reformers who argued that the imperial codes were inadequate to the needs of a modern state. Their arguments contributed to the abolition of the imperial codes in the early twentieth century, but the imperial codes remain a key to understanding the political philosophy of the Chinese state.

Legacy

The imperial legal tradition did not disappear with the fall of the Qing. The early Republic preserved many of the categories of Qing law, and the legal codes of Taiwan, Hong Kong, and the People’s Republic of China all bear traces of the imperial inheritance. The Korean and Japanese legal systems, originally modelled on the Tang, developed their own paths, but the influence of the Tang Code is still visible in the structure of their civil and criminal codes. The Vietnamese legal system, too, preserved elements of the Tang and Qing models into the twentieth century.

The Chinese legal tradition has often been criticised by Western legal scholars for its failure to develop an independent judiciary and its subordination to the state. But it has also been praised for its emphasis on the published code, on the duty of the magistrate to investigate, on the rights of the accused, and on the integration of law with morality. The imperial Chinese legal tradition is, in any case, one of the great achievements of pre-modern statecraft, and the Tang Code in particular is one of the most influential legal documents in human history.

In this section

  • The Tang Legal Code

    The Tang Code (唐律疏議, Táng lǜ shūyì), promulgated in 624 CE by the founder of the Tang dynasty and revised by his successors, is one of the…