First Enlargement (821-852)

Abd al-Rahman II (822) extended the prayer hall by eight bays to the south, with a clear Abbasid influence in the decoration, the result of political contacts with the eastern caliphate and of the arrival of figures from the East in the Peninsula. Muhammad I gave its definitive form to the Gate of San Esteban (St Stephen's Gate), whose true origin is unknown, although its aesthetic position between Visigothic art and the caliphal art of Córdoba seems clear. The previous emir was succeeded by Al-Mundhir and Abd Allah. The former built the treasury hall, whose exact location is not known. The latter built a secret passage, or sabat, which would connect the caliphal Alcázar with the mihrab.
Second Enlargement (10th c.)
In the year 929, Abd al-Rahman III proclaimed himself caliph, and Córdoba became the capital of the largest and most influential Islamic kingdom in the West. His only intervention in the Alhama (main mosque) was a new minaret and the enlargement of the courtyard. The minaret became the first in the West. Abd al-Rahman was also obliged to reinforce the arches linking the covered prayer hall with the ablutions courtyard, which had been deformed by the thrust of the aisles. At the main entrance to the temple from the courtyard he placed a great horseshoe arch over the existing one and built a barrel vault between the two. In the same century, under the caliph Al-Hakam II, culture and the aesthetic and literary arts as a whole were greatly encouraged. During that period, political and cultural contacts with the great eastern capital of Byzantium also increased.
Al-Hakam II added twelve more bays, moving even closer to the course of the Guadalquivir and reaching the definitive depth of today. All the materials used were made specifically for the work. Pink and blue marble shafts alternate, and the so-called "pencas" (leaf) capitals were carved, a schematisation of the classical orders. In the qibla, or end wall of the building, is the mihrab, the niche towards which prayers are directed. Because of the pressure it had to bear, this wall was built double, which ensured the solidity of the construction. Right by this wall, as the principal area of the monumental complex, lies the maqsura, the space in front of the mihrab. Because of the lack of light, a series of vaults was placed here which, thanks to skylights, illuminate the most outstanding part of the building.
These vaults are formed by thick, large ribs leaving an open space between them. This construction technique would later be widely used in Mudéjar art, and is known as the caliphal ribbed vault. The maqsura is decorated with carved marble dados ornamented with motifs of Syrian origin and with glass tessera mosaics, giving this space a special colourfulness similar to Byzantine buildings. The interior of the mihrab has an octagonal plan, closed by a majestic scallop-shell dome.
Third Enlargement (987)
The last great enlargement was carried out by the vizier Almanzor at the end of the 10th century. The imminent fall of the caliphate can be glimpsed in the poverty of the materials used in this area. As it was impossible to extend southwards because of the nearby River Guadalquivir, Almanzor chose to add eight more aisles to the east.

