Answer:
Spain was split into many Islamic and Christian kingdoms.
Step-by-step explanation:
During the Middle Ages, almost all of the Iberian Peninsula was conquered by Muslim Kingdoms.
These kingdoms were slowly defeated by Christian Kingdoms that emerged from the North, and that gave origin to the modern Kingdoms of Spain and Portugal.
By 1492, this process, called the Reconquista, had been completed with the conquest of the Kingdom of Granada, the last standing muslim kingdom in the Iberian Peninsula.