Napoleon Bonaparte was a key figure in the French Revolution. He rose to power during the Revolution and served as First Consul of France from 1799 to 1804, then becoming Emperor of the French from 1804 until his abdication in 1814. His military campaigns and reforms helped shape the course of European history, and he is credited with creating the Napoleonic Code, which established large-scale legal reforms throughout Europe.