Answer:
It was to reform the French legal system in accordance with the ideas of the French Revolution, because the old feudal and royal laws seemed confusing and contradictory.
Step-by-step explanation:
What is the Napoleonic Code created?
the resulting Civil Code of France marked the first major revision and reorganization of laws since the Roman era. The Civil Code (renamed the Code Napoleon in 1807) addressed mainly matters relating to property and families.