Esperaunce

A large red-lacquered timber gatehouse with a double tiled roof and white walls, newly built.

Ancient Japan · Government and Law

A Chinese constitution for a Japanese state

Photograph by Zairon, CC BY 4.0, via Wikimedia Commons.

The Archives/Ancient Japan/Government and Law

The code assumed a salaried bureaucracy recruited by examination from a large literate population, administering a taxed peasantry on allotted state land. Japan had none of those things, so it built them, and then they came apart.

Between roughly 660 and 720 the Japanese court constructed a state on a Chinese blueprint. The instrument was a pair of legal collections. Ritsu, the penal code, listing offences and punishments; ryo, the administrative code, setting out the structure of government, the ranks, the land system, the taxes, the household registers and the duties of every office.

The Taiho code of 701 and the Yoro code drafted in 718 are the mature versions. The penal sections are largely lost; the administrative ones survive substantially, mostly through a ninth-century commentary. What they describe is a complete apparatus: two supreme organs, eight ministries, a provincial hierarchy, a rank system in thirty grades, a land allotment scheme with reassessment every six years, three forms of tax, a conscript army, a state examination system and an official university.

Most of it was copied, sometimes verbatim, from Tang Chinese law. Some of it worked for a century. Some of it never worked at all. And the parts that were changed to fit Japanese conditions are the most revealing thing in the whole exercise.

❦

On this page

Why they did it

The motive for importing a foreign constitution wholesale is specific and it is a military one. In 660 the Tang, allied with the Korean kingdom of Silla, destroyed Paekche, Japan’s ally on the peninsula and the channel through which most continental technology had arrived. The Yamato court sent a fleet and an army to restore it. In 663, at the Paekchon River, the Japanese force was destroyed by a Tang and Silla fleet. The chronicles describe four hundred ships burned and the water turned red.

A painting of a prince in court robes holding a baton and a sword, flanked by two small boys.
Prince Shotoku with two princes, the traditional portrait formerly in the Horyuji and now in the imperial collection. It is probably eighth century, a century after his death.Imperial collection, public domain, via Wikimedia Commons.

Japan lost its foothold on the peninsula permanently and found itself facing a Tang empire that had just demonstrated what it could do, with a hostile Silla in between. The response was immediate and defensive. Fortifications went up across northern Kyushu, described elsewhere in this set. Beacon systems were established. And the court began building a state that could mobilise the country.

That sequence, defeat abroad followed by comprehensive domestic restructuring on the victor’s model, recurs in Japanese history: the Meiji reforms after the arrival of Western fleets, and the post-war reconstruction, follow the same pattern. The Jinshin disturbance of 672, a succession war won by the prince who became Emperor Tenmu, accelerated it. Tenmu emerged with unusual freedom of action, having defeated the court establishment, and it is under him and his consort and successor Jito that the codes, the capital at Fujiwara-kyo, and the compilation of the chronicles all begin.

Tenmu is also the ruler under whom the title tenno, heavenly sovereign, comes into use, replacing the older okimi, great king. That change of word is the whole programme in miniature.

The structure

The shape of the government is worth setting out, because the deviations from the model are visible in it. At the top were two organs of equal standing. The Daijokan, the Great Council of State, ran the civil administration. The Jingikan, the Department of Divinities, ran the state kami cult.

A page of a manuscript in columns of Chinese characters.
A page of the Shinpukuji manuscript of the Kojiki, the oldest surviving copy, made in the fourteenth century. The text was completed in 712.Koten Hozonkai facsimile, public domain, via Wikimedia Commons.

That is the first and largest departure. The Tang had no equivalent of the Jingikan, and placing the national shrine cult on the same level as the entire civil government is a Japanese decision about what the state was for. Under the Council of State were eight ministries: Central Affairs, Ceremonial, Civil Administration, Popular Affairs, War, Justice, the Treasury, and the Imperial Household.

Below that the country was divided into some sixty provinces, each under a governor appointed from the capital for a fixed term, and each province into districts under district magistrates. The district magistrates are the second large departure. In China the county magistrate was an appointed outsider. In Japan the district magistrate was drawn from the local hereditary elite, the former clan heads, and held office effectively for life and often in succession within a family.

That compromise put the old order inside the new one at its lowest administrative level, and it is one of the reasons the system eventually reverted.

The ranks

The status system is where the Japanese adaptation is sharpest. Officials held one of thirty court ranks, from the first down through the eighth with senior and junior and upper and lower subdivisions, plus an initial rank below. Rank determined everything: salary in rice and cloth, land grants, the number of attendants, the colour of the robe, the position in ceremonies, and which offices a man was eligible for.

A large wooden ceremonial hall with a hipped cypress-bark roof, standing on a raised platform in a wide gravel courtyard.
The Shishinden at the Kyoto palace, the hall of state. The present buildings are a nineteenth-century reconstruction of the Heian form.Photograph by Saigen Jiro, CC0, via Wikimedia Commons.

The critical provision is called shion, hereditary privilege. The sons of officials of the fifth rank and above were granted a starting rank automatically, graded by their father’s position. A son of a first-rank official began at a rank that took an ordinary man a lifetime to reach, if he reached it at all.

That single provision converted a merit system into an aristocracy of birth within a generation, and it was deliberate. The Tang had a similar privilege on a much smaller scale; Japan extended it enormously. The examination system, copied from China, was correspondingly stillborn. A university existed at the capital, teaching the Chinese classics, with examinations. Its graduates entered at low ranks and could rise only so far. Nobody of consequence needed it.

So the ritsuryo state has the vocabulary of a meritocratic bureaucracy and the structure of a hereditary court aristocracy, and the second was written into the code from the beginning.

The land

The economic provisions are the ones that failed most visibly. The handen shuju system nationalised agricultural land and allotted it by head. Every person aged six and over received a share, two tan for a man and two thirds of that for a woman, revocable at death and reallotted at a general redistribution every six years.

A round reddish earthenware jar with a flared mouth and a dark fire mark on its side.
A Yayoi jar of about 100 to 300. Wheel-less but thin and even, Yayoi pottery came with the rice farmers from the continent.Metropolitan Museum of Art, New York, CC0.

That required a national household register, and the registers were made. Fragments survive, notably at the Shosoin repository at Nara, listing households by name with ages and relationships, and they are among the best demographic sources for any early medieval society. Three taxes were levied. So, a land tax in rice at a low rate. Cho, a tax in local products, cloth, silk, iron, salt, paid by adult males. Yo, a labour obligation of ten days a year, usually commuted to cloth.

Plus corvee for provincial works and military service, with conscripts serving in provincial units and a proportion sent to the capital or to the Kyushu frontier. The burden fell overwhelmingly on the adult male, which produced the predictable result. Registers show absurd sex ratios, with adult men registered as women, as old, or as dead, and the practice of absconding, in which peasants left their allotted land and went elsewhere, appears in official complaints from early on.

Why it came apart

The mechanism of decay is documented and it is largely a story about exemptions. The system needed new land brought into cultivation, so in 723 the government offered private tenure for three generations to anybody opening new fields. That was not enough incentive, so in 743 it made reclaimed land permanently private and heritable.

A symmetrical wooden hall with upswept wings and a tiled roof, reflected in a still pond.
The Phoenix Hall at Byodo-in, built in 1053 by a Fujiwara regent. It was intended as a representation on earth of the Pure Land paradise.Photograph by 663highland, CC BY 2.5, via Wikimedia Commons.

That single measure ended the land nationalisation in principle. Anybody with the capital to organise reclamation, which meant temples, shrines, aristocratic houses and the provincial elite, could now own land outright. Those holdings became shoen, private estates. Over the following centuries they accumulated two further privileges.

Fuyu, tax immunity, obtained by grant or by commendation to a powerful patron who could secure it. Funyu, immunity from entry by provincial officials, which removed the estate from the administration’s reach entirely. The mechanism that drove this was commendation. A local landholder gave nominal ownership to a great temple or noble house in exchange for protection and exemption, retaining the actual management and a share of the income. The patron gained revenue without administration; the holder gained immunity.

By the eleventh century a large proportion of the productive land in Japan was in shoen, outside the tax system, and the provincial administration was collecting from a shrinking base.

What replaced it

The system that emerged is not chaos, and describing it as decline misses what happened. The court did not stop governing; it stopped governing through the ritsuryo offices. Real business moved to bodies outside the code. The Kurodokoro, the Bureau of Archivists, established in 810 as a private secretariat, became the effective centre of administration. The Kebiishi, the police commissioners, established around the same time, took over judicial and policing functions from the ministries.

An ink drawing of a nobleman in patterned court robes and a tall cap, holding a baton.
Fujiwara no Michinaga as Kikuchi Yosai imagined him in the nineteenth century. Michinaga had three daughters married to emperors and wrote a poem comparing himself to the full moon.Kikuchi Yosai, public domain, via Wikimedia Commons.

Those are extra-codal offices, and the pattern of creating a new informal body to do the work the formal one no longer does is characteristic of Japanese government for the next thousand years. Provincial administration went the same way. Governors increasingly stayed in the capital and sent deputies, or farmed the post for its income, and the man who actually ran the province was a local.

The conscript army was abolished in 792 in most provinces and replaced by a system in which the provincial elite supplied mounted warriors, which is the beginning of the process described elsewhere in this set. And the Fujiwara regency, also described elsewhere in this set, operated entirely through positions that the code did not envisage. Historians have argued for decades about what to call the result. The older account treated it as the decline and fall of the ritsuryo state. A newer view, associated with the idea of a system of court, temple and shrine power blocs, treats it as a working arrangement in its own right, in which the court, the great religious houses and the provincial warrior families each held a share of authority and none could govern without the others.

What survived

A closing assessment, because the ritsuryo state left more than its failure suggests. The provinces it created lasted. The sixty-odd provinces of the eighth century remained the administrative geography of Japan until 1871, and their names survive in place names and in regional identity now.

A tunnel of closely spaced vermilion gateways with black inscriptions, receding down a path with a hanging lantern.
Torii at Fushimi Inari. A torii marks the boundary between ordinary ground and the space of a kami, and each of these was paid for by a donor whose name is on it.Photograph by Basile Morin, CC BY-SA 4.0, via Wikimedia Commons.

The rank system lasted. Court ranks continued to be conferred into the modern period, long after they meant anything administratively, and the vocabulary of court office persisted through the shogunates. The Department of Divinities lasted, and it is the institutional origin of the idea of a state shrine cult, which was revived in a very different form in the nineteenth century.

The codes themselves were never repealed. They were simply not applied, and later regimes governed alongside them rather than replacing them, which is why Japan spent centuries with an imperial court holding legitimate authority and a warrior government holding actual power. And the fundamental claim survived: that there is one sovereign, that the sovereign is the source of legitimate authority, and that whoever exercises power does so as a delegate. Every subsequent Japanese regime, including the shogunates, took its authority formally from the emperor.

The Chinese blueprint was therefore applied, adapted, hollowed out and abandoned in its details while its central premise became permanent. That is a strange outcome for a copying exercise and it is what makes the period worth studying.

Sources

Ancient

  • The Yoro code and the Ryo no gige commentary of 833
  • The Shosoin household registers and tax documents
  • Shoku Nihongi, on the land reclamation edicts of 723 and 743

Modern

  • Delmer Brown, editor, The Cambridge History of Japan, volume 1, 1993
  • Joan Piggott, The Emergence of Japanese Kingship, 1997
  • Bruce Batten, on the ritsuryo state and its provincial administration
  • Karl Friday, Hired Swords, 1992

New civilisations are announced by email as they are written.

Passages may be quoted with my name and a link to the page, and copies may be handed out in a classroom, lecture or study group as long as the site’s name stays on them. Please ask first before republishing a whole essay or Archives page, translating one, or using the writing in anything that is sold. Use for training machine-learning systems is not permitted. The details are on Using this site.

Images are credited individually; rights remain with their holders.

© 2026 Esperaunce. All rights reserved.