They then fought at the Battle of Landen in 1693 and at the Siege of Namur. When the Treaty of Ryswick ended the war in 1697, it was transferred to Ireland. During the War of the Spanish Succession, the regiment served under Marlborough at Schellenberg, Blenheim, Ramillies and Oudenarde. At Malplaquet in 1709, its members included William Hiseland, an 89-year-old reputed to be the last serving veteran of the First English Civil War. Both battalions spent 1715 to 1742 in Ireland, but after this were normally separated. The 1st was based in Flanders during the War of the Austrian Succession, where it fought at Fontenoy in 1745. After returning from Puerto Bello in 1743, the 2nd helped suppress the 1745 Rising, before being posted to Ireland once again. In the army reforms of 1751, the unit was ranked as the most senior infantry line regiment and titled the 1st (Royal) Regiment of Foot. On the outbreak of the Seven Years' War in 1756, the 2nd Battalion moved to Nova Scotia in 1757, fighting at Louisburg, Guadeloupe and Havana, then returning home in 1764. Until American War began in 1775, both served as garrisons in the Mediterranean, the 1st in Gibraltar, the 2nd in Minorca. Sent to the West Indies in 1781, the 1st Battalion helped capture St Eustatius; it surrendered at St. Kitts in January 1782 but was later exchanged. The 1st Battalion had returned to the West Indies as a garrison in 1790, and served there until 1797, with a brief period of combat in the Haitian Revolution. The West Indies were hotbeds of disease, and the battalion lost more than half its strength to disease in this period. It was reformed from militia volunteers in Ireland in 1798: This year saw a major rebellion erupt in Ireland after years of simmering tension. The Lothian Fencibles fought with distinction at the Battle of Vinegar Hill, one of the more important engagements of the rebellion. Subsequently, the regiment gained a new regimental song:  After the rebellion was over in Ireland they were used in minor raids on the coast of Spain in 1800. Meanwhile, from 1793 to 1801, the 2nd Battalion was based in the Mediterranean. It fought at the Siege of Toulon (1793) and the capture of Corsica (1794), returning briefly to Northern Europe for the Battle of Egmont op Zee in the 1799 Anglo-Russian invasion of Holland, before fighting in the 1801 Egyptian campaign at the Battle of Aboukir and the Battle of Alexandria.