Query: What did Louis XIV do to avoid the Spanish War of Succession in 1698?
Source: wikipedia5.pdf
Relevant passages:
In an attempt to avoid war, Louis signed the Treaty of the Hague with William III of England in 1698. This agreement divided Spain's Italian territories between Louis's son le Grand Dauphin and Archduke Charles, with the rest of the empire awarded to Joseph Ferdinand.