 His unit adhered to the Plan de Ayutla in 1854 and took an active part in the War of the Reform, the War of the French Intervention and the war opposing Emperor Maximilian.He defended Puebla against the rebels of Zacapoaxtla in January 1856 and fought the Conservatives in the mountains of Puebla and Tlaxcala in 1857.The same year, he was promoted to colonel of infantry.