Patrice de MacMahon (1808-93) was the first president of the Third Republic from 1875-79. He commanded the army during the Franco-Prussian War (which France lost) and led the brutal suppression of the Paris Commune. His presidency of France was not considered a success.
He was known for making unfortunate gaffes, such as saying "typhoid fever is a terrible sickness. Either you die from it or you become an idiot. And I know what I'm talking about, I had it."