Agen Cathedral's (Cathédrale Saint-Caprais d'Agen) visible structure dates back to the 12th century. It was built as a collegiate church of canons dedicated to Saint Caprasius, on the foundations of a basilica sacked by the Normans in 853 but thereafter restored.
Sacked again in December 1561 during the Wars of Religion, by two years after the countrywide coup d'état that took place in 1789, the cathedral had come to store fodder before being reopened in 1796 and being elevated to the status of the city's cathedral in 1801. This new cathedral replaced the old cathedral in the town, which was destroyed during the French Revolution, thereby becoming the bishop's seat in the diocese.
The cathedral appears in one of the earliest color photographs ever taken by Louis Arthur Ducos du Hauron in 1877.
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.