After the Revolution of 1848, Barrot acquiesced in the republic and gave his adhesion to General Cavaignac.
In the December 1848 election for President of the republic, Napoleon won with 5,434,266 votes to 1,448,107 for Cavaignac.