Habsburg Spain
Spain as a unified state came into being de jure after the Nueva Planta decrees of 1707 that succeeded the multiple crowns of its former realms. After the death in 1700 of Spain's last Habsburg king Charles II, the resulting War of the Spanish Succession led to the ascension of Philip V of the Bourbon dynasty and began a new centralizing state formation.