War of the Bavarian Succession
He was born into an aristocratic Swedish family in 1757 and as was common for sons of Swedish noble families, embarked on military life at a young age, receiving a commission as an ensign in 1772. In 1778 he went abroad to gain experience on campaign, joining the Prussian Army fighting Austria in the War of the Bavarian Succession from 1778 to 1779.