The military general who rose to power during the Revolutionary Wars, and became the authoritarian ruler of France, who established the Napoleonic Code, which codified many of the revolutionary reforms, including legal equality and religious toleration.