Answer
The War of the Spanish Succession began after the death of Charles II, the last Spanish Habsburg king. Charles' will named Philip V, the grandson of Louis XIV of France, as his heir. This angered the other European powers, who feared that a union of the French and Spanish crowns would make France too powerful. The war lasted from 1701 to 1714 and involved most of the major European powers.