 His father had fled to France with his brother James after the failed Jacobite rising of 1715.He returned to Scotland following the general pardon of 1719 and enlisted as an ensign in the 1st Foot in October 1727.He became a captain in the 25th Foot in 1737, and a captain and lieutenant-colonel in the 3rd Foot Guards in 1741.