A law code is a written, organized compilation of laws intended to provide a comprehensive legal framework for a society. The practice of codifying law is ancient, dating back thousands of years. The earliest known evidence comes from clay tablets discovered in the archives of Ebla (modern-day Tell Mardikh, Syria), dating to around 2400 BC. Among the most celebrated ancient codes is Babylon's Code of Hammurabi, which established rules governing everything from commerce to criminal punishment. The Romans also developed early legal records, most notably the Law of the Twelve Tables (451–450 BC), though their most significant codification effort — the Code of Justinian — wasn't completed until AD 529–565, well after the fall of the Western Empire. The Germanic tribes that conquered Roman territories produced their own legal codes as well, including the Salic Law of the Salian Franks. Throughout the later Middle Ages, Europe saw the emergence of collections of maritime customs that gradually gained widespread authority among merchants and legal professionals across the continent.
The common law tradition developed along a different path. Unlike formal law codes, early common law was not built around defined rights but around procedural remedies — essentially, the legal tools available to seek relief. Over centuries, as courts worked through these remedies case by case, a more rights-centered system gradually emerged. This means that modern legal rights are largely the product of accumulated judicial decisions rather than top-down legislation. In fact, English common law continued to be shaped primarily by judges, not lawmakers, well into the late 1800s.
Look at article 7 section 3! Ancient law.