The War of the Spanish Succession was a war which was fought from 1701 to 1714. It was fought over who had the right to be king of Spain after the previous king, Charles II, died childless. France wanted Philip of Anjou, a relative of its king, to rule. Great Britain, the Dutch Republic and other states wanted to prevent France from becoming more powerful.