Napoleon Bonaparte created the Napoleonic Code in the early 1800s to unify France with one set of written laws. Prior to this, France had been using a myriad of different legal systems throughout the country. The French legal system was so confusing that French writer Voltaire stated that a "traveler would change laws as often as he changed horses."