The Second Republic (1848–1852) elected Louis-Napoléon Bonaparte as president before the coup of 1851 and the Second Empire. See Second Republic and Louis-Napoléon.