He returned to Paris to find it on the verge of revolution: the French Revolution of 1848 deposed the king, and Louis-Napoléon Bonaparte was elected as the first president of the Republic of France. (A republic is a country which does not have a king or queen, but has a president instead.)