Napoleon Bonaparte (15 August 1769 – 5 May 1821) was a military and political leader during the latter stages of the French Revolution. As Napoleon I, he was Emperor of the French from 1804 to 1815. His legal reform, the Napoleonic Code, has been a major influence on many civil law jurisdictions worldwide, but he is best remembered for the wars he led against a series of coalitions, the so-called Napoleonic Wars, during which he established hegemony over much of Europe and sought to spread revolutionary ideals.