The War of the Spanish Succession (1701-14) was the first world war of modern times with theatres of war in Spain, Italy, Germany, Holland, and at sea. Charles II, king of Spain, died in 1700 without an heir. In his will he gave the crown to the French prince Philip of Anjou.