He was sent to exile for the first time in 1823 because of his participation in the uprising against Martín Rodríguez, and then again in 1829 to Bahía Blanca for rising up against Juan Lavalle.
At the meeting with José María Paz in Córdoba, Maza accompanied Rosas, when they suffered an assassination attempt.
In 1834, and after several potential candidates refused to take the government of the Buenos Aires Province, Maza, as president of the legislature, was designated interim governor.
As Quiroga was assassinated on his way back to Buenos Aires, Maza was forced to resign on March 7; Rosas once again became governor on April 13.
During the French blockade of the Río de la Plata, Juan Lavalle organized an army in Uruguay, attempting to attack Buenos Aires.