re-write this:

the Napoleonic Code was finally approved. It codified several branches of law, including commercial and criminal law, and divided civil law into categories of property and family

The approval of the Napoleonic Code marked a significant milestone, as it standardized various areas of law such as commercial and criminal law, and organized civil law into distinct categories like property and family law.