 After the Glorious Revolution in 1688, he was appointed Lt-Colonel of Lord Castleton's Regiment of Foot, a new regiment raised to fight in the Nine Years' War.In 1694, William III made him Colonel of a Regiment of Foot and he was promoted to Brigadier in 1696, shortly before the Treaty of Ryswick ended the war in 1697.He left military service in 1703 as a Major-General.