The Romans occupied Spain Gradually. They took over southern Spain from the Carthaginians in 206 BC. They expanded very gradually and the last territories in Cantabria were conquered in 19 BC. The Visigoths invaded Spain and took over most of it by 500 AD. Therefore, the Romans occupied Spain for 500 to 700 years depending on the area.
The Moors ruled Spain for about 700 years.
At no time did the Moors control all of the Iberian Peninsula on which modern Spain is located. The Moors invaded the peninsula in 710 AD and the last Moorish stronghold surrendered in 1492 AD, so there were Moors in power in some part of the peninsula for 782 years. They never controlled Spain, as such, because it didn't come into being until 23 years after the Moors were physically evicted from the peninsula. Spain did not exist as a single country until 1516 when the major kingdoms of Castile, Leon, Aragon and Navarre were united under one monarch. Carlos I became the ruler of all of them. He was, at the same time, Carlos (Charles) V, Holy Roman Emperor.
Rome invaded Spain in 218 BCE, they lost the last vestige of control somewhere around 400 AD. They did not occupy Spain for 700 years. See the related link.
The Moors, the Islamic warriors who had invaded Spain in around 700 AD and who in their heyday ruled over two thirds of Spain.
They began to be defeated shortly after they invaded in 711. The final defeat was 700+ years later in 1492. It took the Christians that long to drive them out.
it took them roughly about 407 years to reconquer Spain
The Moors ruled parts of Spain from 711 until 1492.
Basques
The resolution was the forceful eviction (by 700 years of war) of the Muslims from Spain from European Christians.
There was not one military campaign that drove the Moors from Spain. It was a whole series of campaigns over 700+ years.
Queen Isabella and King Ferninad were king and queen at the time of Columbus, they gave him permission to explore the new world. Isabel was Queen of Castile and Leon, two kingdoms in Spain. Ferdinand was the King of Aragon, a third kingdom in Spain. They married in 1469 and ruled all three kingdoms together. Eventually they defeated the last of the Moors that had invaded Spain 700 years earlier and drove them from Spain.