
I was talking about Napoleon III
Napoleon III Emperor of the French (Louis Napoleon Bonaparte) (1808-73). Napoleon III was born Charles Louis Napoleon Bonaparte, son of the great Napoleon's brother Louis, King of Holland, and Josephine's daughter, Hortense Beauharnais.
The deaths of his brother and Napoleon's son left him Bonapartist pretender to the French throne. He tried to subvert the garrisons of Strasbourg in 1836 and Boulogne in 1840. Imprisoned after the latter venture, he escaped in 1846 and returned to France after the 1848 Revolution, being first elected to the Assembly and then, in December, becoming president of the Second Republic.
He made himself dictator after a coup d'etat in 1851 and then French emperor of the second republic he acquired power through important people support and then converted the republic into second empire and became the emperor of the second republic.
He commanded the army which fought the Italian campaign the following year and won the victories of Magenta and Solferino. He made peace at Villafranca sooner than the Italians wished, obtaining Nice and Savoy for France.
After the losing the 1870 war his empire collapse and he was exiled died in England in 1873.
He had a son, the Prince Imperial, who accompanied British forces to the Zulu war of 1879 and was killed in action.
This was the end of the Napoleon dynasty.

Napoleon II son of Napoleon I never made it to power he was Given the Austrian title of duke of Reichstadt and died of Tuberculosis.