HixtoryView on the map

EventNara and Heian Periods

The Yoro Code: The Nation's Basic Law, Refined from the Taiho Code

c. 718–757 CE · Japan (Ritsuryō State) · Heijo-kyo
Today: Nara, Nara Prefecture, Japan

The Yoro Code, finished in 718 and put into force in 757, was a revision and refinement of the Taiho Code and served as the basic law of the ancient Japanese state.

What happened

The Taiho Code of 701 had parts that needed fixing. Around 718 it was refined under the lead of Fujiwara no Fuhito, and it was only formally put into force in 757. Most of the penal laws (ritsu) were lost, but the administrative laws (ryo) mostly survive thanks to commentaries, and they became an important key to understanding ancient Japan.

More detail

Two sources checked

Why it happened

Why make a new law when a law already existed? The Taiho Code of 701 was the framework of the state, but once it was in use, awkward wording and clauses that did not fit together came to light. It is like trying out a group's rules for a term and then fixing the confusing parts. The person who led this work was Fujiwara no Fuhito, and it is said that several scholars and officials who were descendants of people from the Korean Peninsula took part.

But Fuhito died in 720, and the work stopped for a time. So the year 718 is the year in which the compilation is said to have been completed, and the time it actually took effect came much later.

What happened

The law was actually put into force in 757. The person who presented the law to the public that year was Fuhito's grandson, Fujiwara no Nakamaro. The Yoro Code consisted of 20 volumes in all: 10 volumes of ritsu (penal law), which set punishments, and 10 volumes of ryo (administrative law), which set the rules for running the state. It is said to have had the same framework as the Taiho Code, with only the wording and contradictions polished.

Unfortunately most of the ritsu was lost, but almost all of the ryo survives thanks to the commentaries Ryo no Gige and Ryo no Shuge. It was the commentaries, not the legal text itself, that preserved its content.

What came of it

The Yoro Code was used for a long time as the basic law that ran the ancient Japanese state. Even after the ritsuryo state collapsed and the age of the warriors came, the court's ceremonies and system of offices are said to have carried on the framework of this law, at least in name. Some sources explain that it continued, formally, until the early Meiji period.

It is thanks to this law and its commentaries that people today can know the ancient Japanese offices and tax system in relatively close detail. It is interesting that even when a law disappears, the writings made to explain it can preserve history.

People in this event