He fought during the British invasions of the River Plate (1806–07), and was sent to Spain with Juan Martín de Pueyrredón and Manuel José Obarrio Fernández to report on the events in Buenos Aires.