The Umayyad Emirate was a muslim state in western Europe. It was situated in the peninsula (sharing it with the Asturias Kingdom to the north), between the Atlantic and the Mediterranean. The Spanish March separated the peninsula from the Carolingian Empire.
Malaga was an important Mediterranean port. Across it were the Idrisid Caliphate and the Rustamid Imamate in North Africa.