The regiment was raised for the English Army in Gloucester by Colonel Henry Cornewall as Henry Cornewall's Regiment of Foot at the request of James II in 1685 as part of the response to the Monmouth Rebellion. Cornewall resigned his post following the Glorious Revolution and command went to Colonel Oliver Nicholas in November 1688. In December 1688, Nicholas was also removed due to his personal Jacobite sympathies and command passed to John Cunningham. In April 1689 the regiment, under Cunningham's command, embarked at Liverpool for Derry for service in the Williamite War in Ireland. Cunningham led a failed attempt to relieve the besieged city of Derry. The regiment briefly returned to England, but in May 1689 Cunningham was replaced by William Stewart, under whom the regiment took part in a successful relief of Derry in summer 1689. The regiment also saw action at the Battle of the Boyne in July 1690, the siege of Limerick in August 1690 and the siege of Athlone in June 1691. It went on to fight at the Battle of Aughrim in July 1691 and the siege of Limerick in August 1691.