 He took part in the revolutions of La Noria (Díaz's unsuccessful 1871 revolt against Benito Juárez) and Tuxtepec (Díaz's successful 1876 revolt against Sebastián Lerdo de Tejada).With the success of the Plan de Tuxtepec, Díaz temporarily turned over the government to Méndez on 6 December 1876 in order to take the field to fight the partisans of José María Iglesias.Iglesias claimed to be the legal president of Mexico.