The Napoleonic Code , officially the Civil Code of the French (French: Code civil des Français; simply referred to as Code civil), is the French civil code established during the French Consulate in 1804 and still in force in France, although heavily and frequently amended since its inception. Although Napoleon himself was not directly involved in the drafting of the Code, as it was drafted by a commission of four eminent jurists, he chaired many of the commission's plenary sessions, and his support was crucial to its enactment.
The code, with its stress on clearly written and accessible law, was a major milestone in the abolition of the previous patchwork of feudal laws. Historian Robert Holtman regards it as one of the few documents that have influenced the whole world.
The Napoleonic Code was not the first legal code to be established in a European country with a civil-law legal system; it was preceded by the Codex Maximilianeus bavaricus civilis (Bavaria, 1756), the Allgemeines Landrecht (Prussia, 1794), and the West Galician Code (Galicia, then part of Austria, 1797). It was, however, the first modern legal code to be adopted with a pan-European scope, and it strongly influenced the law of many of the countries formed during and after the Napoleonic Wars. The Napoleonic Code influenced developing countries outside Europe attempting to modernise and defeudalise their countries through legal reforms, such as those in the Middle East, while in Latin America the Spanish and Portuguese had established their own versions of the civil code.