He became a major in Sveaborg on 6 September 1810, and colonel on 20 November the same year. He volunteered for the 1812 campaign and the advance across Germany, winning the Order of St Vladimir 3rd class for his conduct at the battle of Dennewitz and a gold sword with diamonds for that at Leipzig. He was promoted to major general on 15 December 1813, and was granted the Order of Saint Anna 1st class for his conduct at the battle of Saint-Dizier. He was dismissed from the army on 5 April 1816, but allowed to retain his uniform.