In 1812, he commanded two companies of artillery which supported the 1st and 2nd Battalions, Royal Marines in Spain. He was the Marine Artillery brigade commander when this force redeployed to North America in 1813 to fight in the United States, with a rocket detachment supplementing his original two companies.