Treaty of Utrecht
This was part of the general settlement ending the War of the Spanish Succession. France and Spain recognized the Hanoverian succession. Philip V of Spain abandoned his claim to the French throne. France retained Alsace, Philip retained Spain and the Indies but lost his other possessions in the Netherlands and Italy to the Emperor Charles VI, Britain gained French territory in North America, and Gibraltar and Minorca from Spain.