This is an unusual monument in that it is both a temple-cathedral and a defensive fortress. The primarily Gothic-style cathedral stands at the very heart of the city of Almeria and was built in the mid-20th century to replace the former mosque which was destroyed by the earthquake of 1522. It was built in the form of a fortress so that it could be used as a strong defence against the constant threat of Algerian and Berber pirates. The cathedral's Renaissance-style cloister was once the parade ground of the fortress, and its Gothic archways are also of particular interest. Inside, the cathedral houses the Diocesan Museum, which is home to works by Murillo, Ribera and Alonso Cano.