Original: An Iberian and Roman city in ancient times , in the Middle Ages it was capital of an Islamic caliphate .
Simplified: Cordoba is a city in Andalusia , Spain .