Civil law is a legal system rooted in the Roman Empire and was comprehensively codified and disseminated starting in the 19th century, most notably with France's Napoleonic Code (1804) and Germany's Bürgerliches Gesetzbuch (1900). Unlike common law systems, which rely heavily on judicial precedent, civil law systems are characterized by their reliance on legal codes that function as the primary source of law. Today, civil law is the world's most common legal system, practiced in about 150 countries.
The civil law system is often contrasted with the common law system, which originated in medieval England. Whereas the civil law takes the form of legal codes, the common law comes from uncodified case law that arises as a result of judicial decisions, recognizing prior court decisions as legally binding precedent.