Read the story
Stand still among the columns and the sight lines run off in every direction, like rows in an orchard. About 850 of them hold up this hall, in jasper, onyx, marble, granite and porphyry, and the first ones were already old when they arrived.
The builders of the original mosque had a problem. Every column and capital in that first prayer hall was salvaged from Roman and Visigothic buildings. None stood tall enough on its own to lift the roof where the builders wanted it. Their answer was to stack the arches: a lower tier of horseshoe arches, and riding above it a second tier of round ones, their wedge stones striped in red brick and white stone. Some say the idea came from Roman aqueducts still standing in Spain, Mérida's Los Milagros among them. Others look east, to the Umayyad buildings of the Levant, where stripes of color like these were common. Either way, short columns became a soaring hall.
And the design could be repeated almost forever. Abd al-Rahman the Second pushed the hall eight bays south between 833 and 848, and his craftsmen began carving fresh marble capitals in the Corinthian style instead of scavenging. Al-Hakam the Second added twelve more bays. Then al-Mansur, blocked by the river, spread the building east, taking the aisles from eleven to nineteen. In the end the mosque covered some 23,400 square meters, second in area only to the Grand Mosque of Mecca.
One thing no ruler changed: the direction of prayer. Mecca lies east-southeast of Córdoba, yet this hall faces south. Perhaps it follows the street grid of Roman Córdoba. Perhaps it leans on a saying, repeated in the Islamic West, that "what is between the east and west is a qibla." Whatever the reason, every expansion kept the original line.
So the forest kept growing, and every new row faced exactly the way the first one did.