They invaded primarily during the 8th century and were turned back from France by Charles Martel at the battle of Tours in 732. They were muslims. Ferdinand and Isabel of Spain ended their reign in Spain in 1492 by defeating the moorish army at Granada.
So, the reign in Spain ended mainly on the plain?