Treaty signed 1713 that ended the War of the Spanish Succession. Philip V was recognized as the legitimate king of Spain, thus founding the Spanish branch of the Bourbon dynasty; the Netherlands, Milan, and Naples were ceded to Austria; Britain gained Gibraltar; the duchy of Savoy was granted Sicily.