 Despite being long-time opponents, Louis XIV and William III tried to resolve the issue by diplomacy.The result was the Partition Treaties of The Hague in 1698 and London in 1700 between Britain, the United Provinces and France.When Charles died on 1 November 1700, his will named his heir as Louis' grandson, Philip of Anjou, Louis decided not to enforce the Treaty of London and he became Philip V of Spain on 16 November.