<human>:  How did Napoleon become emperor?
<bot>: Napoleon became emperor of France in 1804 after the French revolution. The French revolution was a series of events that occurred in France between 1789 and 1799. The revolution was caused by the French people who wanted to end the monarchy and replace it with a republic. In the end, the French people were successful, and Napoleon became the first emperor of France.