He began his military career in 1689, serving successively in the Williamite War in Ireland, the Nine Years War and the War of the Spanish Succession. During the Jacobite rising of 1715, he commanded government troops at the Battle of Preston, which ended the revolt.