He joined the army in 1809 as a Cornet in the 10th Hussars. He was promoted to lieutenant in 1810 and to captain in 1813. He served in the Peninsular War, including at the Battles of Vittoria and Pampeluna.