 With the signing of the Treaty of Ryswick in 1697 the war came to an end.Sanderson's Regiment returned to England, where it was disbanded on 4 March 1698.By 1702 England was involved in the European conflict which became known as the War of the Spanish Succession.