Córdoba gained immense renown in the Middle Ages as a city of learning and extraordinarily rich culture. Its population bloomed to around four hundred thousand inhabitants—a scale that put Córdoba comfortably in the league of Constantinople or even ancient Rome.