In 1813 he enlisted as a cornet in the 16th Light Dragoons and served with the regiment in the Peninsular War, where he was involved in the battles of Nivelle, Nive and Bayonne. In 1815 he was present at the battles of Quatre Bras and Waterloo and in December of that year was promoted lieutenant.