He served the French King as an officer during the Seven Years' War and participated in the Battle of Rossbach (1757) and the Battle of Hochkirch (1758). He joined the Austrian army in 1778 before retiring with the rank of colonel.