Napoleon spread enlightenment ideas that benefited the people in France. He created the Napoleonic code, which was basically the first written document of laws. That meant that the judge could not change anything, but the laws applied to all citizens equally and protected their rights.