He took part in the 1806-07 expedition to seize Buenos Aires from the Spanish Empire as "aide-de-camp" (ADC) to General John Whitelocke where he was taken prisoner while fighting with the Rifle Corps.