What was the name of Spain during the medieval ages?

There was no Spain in the Middle Ages, Iberia was controlled by numerous different states that came and went. The largest and most important were: the Caliphate of Cordoba, the Kingdom of Castille-Leon, the Kingdom of Aragon, the Almoravid and Almohad Empires, etc.