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 Marrakech. 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). After the 1391 pogrom, believed to having been instigated by the Archdeacon Ferrant Martínez, all the synagogues in Seville were converted to 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 Barrio Santa Cruz) were appropriated by the church. Many Jews were killed during the pogrom, although most were forced to convert. The first tribunal