The French legal system underwent great changes after the French Revolution beginning in 1789, which swept away the old regime. By 1790, the National Constituent Assembly overhauled the country’s judicial system. A criminal code would be adopted by 1791. The Civil Code (1804), the Code of Civil Procedure (1806), and the Commercial Code (1807) were adopted under Napoleon Bonaparte, reflecting Roman law, pre-revolutionary ordinances and custom, scholarly legal writings, enlightenment ideas, and Napoleon's personal vision of the law. These codes consisted of numbered articles, were written in elegant French, and were meant to be understood by the layman. In addition, they introduced many classically liberal reforms, such as abolishing remaining feudal institutions and establishing rights of personality, property and contract for all male French citizens.