In 1810 he participated in the provincial militia in support of the Revolution of May. He commanded a contingent of 225 San Luis soldiers, who joined with the Army of the North. He participated in the battles of Tucumán, Salta, and Vilcapugio. He was apparently wounded in the latter, because he did not figure in any of the later activities of the Army of the North, and returned to San Luis.