Middle Ages
In the wake of the Islamic conquest of the Iberian Peninsula, Seville (Spalis) was seemingly taken by Musa ibn Nusayr in the late summer of 712, while he was on his way to Mérida. Yet it had to be retaken in July 713 by troops led by his son Abd al-Aziz ibn Musa, as the Visigothic population who had fled to Beja had returned to Seville once Musa left for Mérida. The seat of the Wali of Al-Andalus (administrative division of the Umayyad Caliphate) was thus established in the city until 716, when the capital of Al-Andalus was relocated to Córdoba.
Seville (Ishbīliya) was sacked by Vikings in the mid-9th century. After Vikings arrived by 25 September 844, Seville fell to invaders on 1 October, and they stood for 40 days before they fled from the city. During Umayyad rule, under an Andalusi-Arab framework, the bulk of the population were Muladi converts, to which Christian and Jewish minorities added up. Up until the arrival of the Almohads in the 12th century, the city remained as the see of a Metropolitan Archbishop, the leading Christian religious figure in al-Andalus. However, the transfer of the relics of Saint Isidore to León circa 1063, in the taifa period, already hinted at a possible worsening of the situation of the local Christian minority.
A powerful taifa kingdom with capital in Seville emerged after 1023, in the wake of the fitna of al-Andalus. Ruled by the Abbadid dynasty, the taifa grew by aggregation of smaller neighbouring taifas. During the taifa period, Seville became an important scholarly and literary centre. After several months of siege, Seville was conquered by the Almoravids in 1091.
The city fell to the Almohads on 17 January 1147 (12 Shaʽban 541). After an informal Almohad settlement in Seville during the early stages of the Almohad presence in the Iberian Peninsula and then a brief relocation of the capital of al-Andalus to Córdoba in 1162 (which had dire consequences for Seville, reportedly depopulated and under starvation), Seville became the definitive seat of the Andalusi part of the Almohad Empire in 1163, a twin capital alongside Marrakesh. Almohads carried out a large urban renewal. By the end of the 12th century, the walled enclosure perhaps contained 80,000 inhabitants.
In the wider context of the Castilian–Leonese conquest of the Guadalquivir Valley that ensued in the 13th century, Ferdinand III laid siege on Seville in 1247. A naval blockade came to prevent relief of the city. The city surrendered on 23 November 1248, after fifteen months of siege. The conditions of capitulation contemplated the eviction of the population, with contemporary sources seemingly confirming that a mass movement of people out of Seville indeed took place.
The city's development continued after the Castilian conquest in 1248. Public buildings were constructed including churches—many of which were built in the Mudéjar and Gothic styles—such as the Seville Cathedral, built during the 15th century with Gothic architecture. Other Moorish buildings were converted into Catholic edifices, as was customary of the Catholic Church during the Reconquista. The Moors' Palace became the Castilian royal residence, and during Pedro I's rule it was replaced by the Alcázar (the upper levels are still used by the Spanish royal family as the official Seville residence).
Seville was the starting point of the 1391 anti-Jewish massacres, which soon spread across Castile and Aragon. In the aftermath, all of Seville's synagogues were seized and converted into churches (renamed Santa María la Blanca, San Bartolomé, Santa Cruz, and Convento Madre de Dios). The Jewish quarter's land and shops (which were located in modern-day Santa Cruz neighbourhood) were appropriated by the church and many Jewish homes were burned down. 4,000 Jews were killed during the pogrom and many others were forced to convert.
The first tribunal of the Spanish Inquisition was instituted in Seville in 1478. Its primary charge was to ensure that all nominal Christians were really behaving like Christians, and not practicing what Judaism they could in secret. At first, the activity of the Inquisition was limited to the dioceses of Seville and Córdoba, where the Dominican friar, Alonso de Ojeda, had detected converso activity. The first Auto de Fé took place in Seville on 6 February 1481, when six people were burned alive. Alonso de Ojeda himself gave the sermon. The Inquisition then grew rapidly. The Plaza de San Francisco was the site of the 'autos de fé'. By 1492, tribunals existed in eight Castilian cities: Ávila, Córdoba, Jaén, Medina del Campo, Segovia, Sigüenza, Toledo, and Valladolid; and by the Alhambra Decree all Jews were forced to convert to Catholicism or be exiled (expelled) from Spain.