The Former Cathedral of Baeza was the cathedral episcopal see of the Roman Catholic Diocese of Baeza, which has a Visigothic period, was suppressed after some time under Moorish rule and was shortly restored after the Reconquista under the Kingdom of Castile in the thirteenth century, but suppressed for good, never again to regain (co-)cathedral status.
The site, like the land, alternated between mosque and church during 12th and 13th centuries. The apse still maintains Gothic tracery, but in the 16th-century a major reconstruction by Andrés de Vandelvira in Renaissance-style created the present church. The construction of the cathedral finally ended in 1593, shortly after the death of Andrés de Vandelvira.
The church forms part of a UNESCO World Heritage Site with other monuments in Baeza and in the nearby city of Úbeda.
References:The Basilica of Santa Maria in Trastevere is one of the oldest churches of Rome. The basic floor plan and wall structure of the church date back to the 340s, and much of the structure to 1140-43. The first sanctuary was built in 221 and 227 by Pope Callixtus I and later completed by Pope Julius I.
The inscription on the episcopal throne states that this is the first church in Rome dedicated to Mary, mother of Jesus, although some claim that privilege belongs to the Basilica di Santa Maria Maggiore. A Christian house-church was founded here about 220 by Pope Saint Callixtus I (217-222) on the site of the Taberna meritoria, a refuge for retired soldiers. The area was made available for Christian use by Emperor Alexander Severus when he settled a dispute between the Christians and tavern-keepers.
The church underwent two restorations in the fifth and eighth centuries and in 1140-43 it was re-erected on its old foundations under Pope Innocent II.