Marshal of France and president of the Republic (1873–1879), MacMahon embodied the conservative attempt to prepare a monarchist restoration, which failed as republicans gained control of the institutions.