who invaded spain in the 8th century
This were the Muslims, also called there Moors, that is the Berber and Arab people from the Umayyad Caliphate. After their invasion, the Caliphate of Cordoba, as Spain was then known, was a province of this caliphate.