A law code is a list of rules. 
A law code is a big list of rules. 
A law code is a large collection of rules. These rules are written down in a clear way. This way is called codification. 
People have used law codes for a very long time. In the ancient Middle East, people wrote rules on clay tablets. Some of these date back to 2400 BC. In the Roman Empire, leaders made important codes. One was the Justinian Code. This code collected many old laws together.
In ancient China, the Tang Code was a big set of rules. It was made in 624 AD. Later, the Great Qing Legal Code was used from 1644 to 1912. In Africa, the Mali Empire used a charter called the Kouroukan Fouga. People kept these rules alive by telling them out loud.
In Europe, the French Napoleonic Code was made in 1804. This code helped shape laws in many other places. For example, Japan used French ideas to make its own code in 1898. Today, some countries use codes to cover all laws. Other countries use codes to cover just one area, like criminal law.
A code of law is a large, organized collection of rules. These rules are often called statutes. When people gather laws into one system, it is called codification. 
History shows that people have used codes for thousands of years. The earliest evidence comes from the ancient city of Ebla in modern-day Syria. Those tablets date back to 2400 BC. Other very old codes came from Sumer and Mesopotamia. These include the UrukAgina Law Code from around 2380 BC. There was also the Sumerian Code of Ur-Nammu. The Babylonian Code of Hammurabi is another famous early example. These old writings helped people live together by setting clear expectations.
Different parts of the world created their own ways to write laws. In the Roman Empire, leaders made the Twelve Tables in 450 BC. Later, the Justinian Code was made between 429 and 534 AD. In China, the Tang Code was a major criminal code from 624 AD. The Great Qing Legal Code was used from 1644 until 1912. In Africa, the Mali Empire used a charter called the Kouroukan Fouga. This charter was proclaimed between 1222 and 1236. People kept these rules alive by telling them out loud using griots.
Many modern laws were inspired by these older systems. In Europe, the French Napoleonic Code of 1804 was very important. It influenced the Austrian civil code of 1812 and the German code of 1900. These ideas even reached Japan during the Meiji Restoration in 1898. Japan used the French code to help build its own system. After 1911, China also moved toward new codes influenced by Germany and Japan. Even religious groups use codes, like the Code of Canon Law.
Today, you can see the influence of these codes everywhere. Some countries use a civil law system that relies on a central code. Other countries use a common law system where codes only change existing rules. Even in the United States, some states have special systems. For instance, the California Civil Code is quite different from other codes. Whether they cover crimes or private matters, codes help organize how a society works. They turn many separate rules into one single, organized body of law.
A code of law is a systematic collection of statutes. This process of gathering laws into one organized system is called codification. A code aims to cover a complete system of laws or a specific area of law. This is done through a process that captures the laws as they exist at the time of enactment. There are two main ways these codes function in different legal traditions. In a civil law country, a code typically covers an entire system, such as criminal law or civil law. In contrast, common law countries use codes differently. In these systems, codes often modify existing common law rather than replacing it entirely. In the United States, a code serves as a standing body of statute law for a specific area. These codes can be changed by adding, subtracting, or modifying individual legislative enactments.
History shows that legal codes have been a common feature for millennia. The earliest known evidence of a law code comes from the ancient city of Ebla. Located in modern-day Syria, these tablets date back to 2400 BC. Other early and well-preserved codes originated from Sumer and Mesopotamia, which is modern-day Iraq. These include the UrukAgina Law Code from 2380–2360 BC and the Sumerian Code of Ur-Nammu from approximately 2050 BC. Other significant early examples include the Code of Eshnunna and the Code of Lipit-Ishtar from 1934–1924 BC. The Babylonian Code of Hammurabi is also one of the most famous early legal collections. These ancient systems provided a structured way for early civilizations to manage their societies.
The Roman Empire also contributed heavily to the development of legal codes. One of the earliest examples was the Twelve Tables, which were first compiled in 450 BC. However, the Twelve Tables were limited in their scope. Most legal doctrines were actually developed by the pontifices, who interpreted the tables to handle complex situations. Later, the Corpus Juris Civilis was developed between 429 and 534 AD. This is also known as the Justinian Code. Unlike the earlier tables, this code collected existing legal material from that time. This Roman legal tradition eventually became the foundation for many modern legal systems in Europe.
In ancient China, legal codes followed a different historical path. The first comprehensive criminal code was the Tang Code, created in 624 AD during the Tang dynasty. This code and others like it formed the basis for penal systems in China and other East Asian states. The last and best-preserved imperial code was the Great Qing Legal Code. It was created in 1644 upon the founding of the Qing dynasty. This code was the exclusive and exhaustive statement of Chinese law until 1912. While it was primarily a criminal code, it also included many rules for civil law and settling disputes. Even after the dynasty fell, some provisions remained in Hong Kong until the 1970s.
African civilizations also developed important legal traditions through various methods. Some societies used consistent oral traditions to codify their laws. An example is the Kouroukan Fouga, a charter proclaimed by the Mali Empire between 1222 and 1236. This charter included regulations for both constitutional and civil matters. These laws were transmitted to this day by griots, who shared them under oath. In Europe, the rise of nation-states after the Treaty of Westphalia accelerated the codification movement. This led to the creation of many prominent national civil codes used today.
Many modern legal structures are directly linked to the Napoleonic Code of 1804. This French code influenced several other major European systems. For instance, it helped shape the Austrian civil code of 1812 and the German civil code of 1900. These European codifications even influenced religious law, such as the 1917 Code of Canon Law. The influence of these codes spread globally through cultural and military dominance. During the Meiji Restoration, Japan adopted a new Civil Code in 1898. This Japanese code was based primarily on the French system and influenced by the German code. After the 1911 Xinhai Revolution, China also adopted a new civil code influenced by Germany and Japan.
Today, the distinction between civil law and common law remains important. In civil law jurisdictions, the code is the central authority. In common law jurisdictions, there is a strong trend toward codification, but the results vary. For example, the California Civil Code codifies common law doctrine, making it very different from other civil codes. Criminal codes are also common features in many systems worldwide. Codifying criminal law can make the rules more accessible to the public. It also allows laws to be made and amended in a more democratic way. These organized systems ensure that the rules of a society are clear and structured.
🖼️ Images & Media (1)
More to explore
✨ What else?
Related topics you might enjoy
🔬 Go deeper
More advanced topics to explore
🪜 Step back
Simpler topics to build understanding
What is Nepedia?
A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.