King Charles II of Spain was the last Habsburg ruler of Spain, reigning from 1665 to 1700. His rule is significant for its connection to the broader struggles of European powers for colonial dominance, particularly as his death without an heir led to the War of Spanish Succession, a pivotal conflict involving several European nations vying for control over Spanish territories and influence.