The French civil code established under the French Consulate in 1804. Napoleonic Code. The Napoleonic Code is a set of laws that laid the foundation for modern legal systems in many countries by emphasizing clear, accessible laws and individual rights over privileges.