In May 1801 he was appointed major in the 3rd Guards, and lieutenant-colonel in January 1806, after which he retired.
In May 1801, he was appointed as a major in the 3rd Guards regiment, and in January 1806, he was promoted to lieutenant-colonel. Subsequently, he left his military service.