He began his military service in 1746, participating in the Seven Years' War (1756–1763). He was unit commander in the Battle of Zorndorf. His unit lost 60 officers and about half of soldiers but did not retreat. He was promoted to Colonel Rank by Empress Elizabeth of Russia. He also participated in Battle of Kunersdorf and thereafter was appointed military commandant of Frankfurt.