Portugal
Islamic period

Today's continental Portugal, along with most of modern Spain, was invaded from the South and became part of al-Andalus between 726 and 1249, following the Umayyad Caliphate conquest of the Iberian Peninsula. This rule lasted decades in the North, up to five centuries in the South.

After defeating the Visigoths in a few months, the Umayyad Caliphate started expanding rapidly in the peninsula. Beginning in 726, the land that is now Portugal became part of the vast Umayyad Caliphate's empire of Damascus, until its collapse in 750. That year the west of the empire gained its independence under Abd-ar-Rahman I with the establishment of the Emirate of Córdoba. The Emirate became the Caliphate of Córdoba in 929, until its dissolution in 1031, into 23 small kingdoms, called Taifa kingdoms.

The governors of the taifas proclaimed themselves Emir of their provinces and established diplomatic relations with the Christian kingdoms of the north. Most of present-day Portugal fell into the hands of the Taifa of Badajoz of the Aftasid Dynasty, and in 1022 the Taifa of Seville of the Abbadids poets. The Taifa period ended with the conquest of the Almoravids in 1086, then by the Almohads in 1147. Al-Andaluz was divided into districts called Kura. Gharb Al-Andalus at its largest consisted of ten kuras, each with a distinct capital and governor. The main cities were in the southern half of the country: Beja, Silves, Alcácer do Sal, Santarém and Lisbon. The Muslim population consisted mainly of native Iberian converts to Islam and Berbers. The Arabs (mainly noblemen from Syria) although a minority, constituted the elite. The Berbers who joined them, were nomads from the Rif Mountains of North Africa.

Invasions from the North also occurred in this period, with Viking incursions raiding the coast between the 9th and 11th centuries, including Lisbon. This resulted in the establishment of small Norse settlements in the coastline between Douro and Minho.
startend:quotation