Napoleon was defeated at the Battle of Waterloo.
This defeat ended Napoleon’s rule as Emperor of the French.
Source