 He entered the British army in 1806, and took part in the Battles of Quatre Bras and Waterloo.In 1832 he commanded the brigade of British volunteers who enlisted to fight to restore the rightful Queen of Portugal, Maria da Glória, to her throne against the forces of the usurper, Dom Miguel.With the rest of the forces commanded by Maria's father Dom Pedro, the ex-Emperor of Brazil, they sailed from Terceira in the Azores, captured Oporto and endured a siege there of nearly a year.