The correct answer is educational reform
The creation of this code was intended to reform the French legal system, following the principles of the Revolution of 1789. Prior to the Code granted by Napoleon, France did not have a single set of laws, these were based on local customs, with frequent exemptions and privileges. given by kings or feudal lords. The new code eliminated the privileges of nobles, guaranteed all male citizens equality before the law, separated church and state, legalized divorce, and divided civil law into two categories: property and family, and code several branches of law still organized into sparse documents.