He took part in numerous campaigns against Indigenous incursions in the Province of Buenos Aires, and during the English Invasions of 1806 and 1807 he served with the rank of Lieutenant of the Corps of Dragons of Buenos Aires, taking part in the main military actions for the defense of the City. In 1809 he was recognized by the Supreme Board of Seville for his heroic courage during the fighting.