What was the Napoleonic code

The Napoleonic Code, also known as the French Civil Code, was a set of laws enacted by Napoleon Bonaparte in 1804. It served as the first modern legal code in France and had a significant impact on the legal systems of many other countries. The code was based on principles of equality before the law, protection of individual rights, and promotion of secularism. It also established the idea of a centralized legal system and outlined specific rules regarding property rights, contracts, and family relationships. The Napoleonic Code remains influential in many civil law jurisdictions around the world.