During his term as a politician in the Second Republic, he led efforts that culminated in the abolition of slavery and the death penalty, as well as the enshrinement of the right to work and the short-lived national workshop programs. A political idealist who supported democracy and pacifism, his moderate stance on most issues caused many of his followers to desert him. He was an unsuccessful candidate in the presidential election of 10 December 1848, receiving fewer than 19,000 votes. He subsequently retired from politics and dedicated himself to literature.