By a commission dated 20November 1688, the regiment was formed in Torbay, Devon under Sir Richard Peyton as Peyton's Regiment of Foot. (The regiment's name changed according to the name of the colonel commanding until 1751.) The regiment served in the Glorious Revolution under King William III and at the Battle of the Boyne in July 1690 and the Battle of Aughrim in 1691. During the War of the Spanish Succession (1701–1714), it aided in the capture of Spanish galleons at Battle of Vigo Bay in 1702.