A grandson of King Louis XIV of France became the next in line to the Spanish throne in 1700. If he were to become king of Spain, this would allow for a unification of the two imperial powers. The powerful combination would upset the militarian, political, and economic balance in Europe. For this reason, the Holy Roman Empire, Great Britain, the Netherlands, and Portugal formed an alliance with the goal of revoking the claim to the Spanish throne. The war was ended by the Treaty of Utrecht, which took gave much of France's Italian holdings to Austria, and Phillip became King of Spain. However, Phillip also had to renounce his claim in the French line of succession, successfully stopping the formation of a Western European superpower.