Which European country was ruled by Islamic Empire?

Spain was ruled by the Islamic Empire, specifically by the Umayyad Caliphate from 711 to 1031 AD. This period in Spanish history is known as Al-Andalus.