Following Napoleon's defeat in the Napoleonic Wars France went through several further regime changes, being ruled as a monarchy, then briefly as a Second Republic, and then as a Second Empire, until a more lasting French Third Republic was established in 1870.