 Historiography of Spain generally treats this as the formation of the Kingdom of Spain, but in actuality, the two kingdoms continued for many centuries with their own separate institutions.It wasn't until the Nueva Planta decrees of 1707-1716 that the two lands were formally merged into a single state.Following the deaths of Isabella (1504) and Ferdinand (1516), their daughter Joanna inherited the Spanish kingdoms.