Answer:
After the Revolution of 1848, in 1850, Napoleon III was elected president of the Second Republic. He served in that position until 1852, when he was made emperor—a position he held until 1870, when the disastrous Franco-Prussian War led to his capture.