He served in the Spanish theatre of the War of the Spanish Succession, and spent most of the next thirty years on garrison duty in Scotland and England. During the 1745 Jacobite Rising, he fought at the Battle of Prestonpans in September 1745, when the British army was defeated in 15 minutes.