Building began in 1524, after an earthquake wrecked the previous church. Diego de Siloé drew the original plan and Juan de Orea carried it through to completion around 1562, work that continued into the 17th century as the cathedral's defences were strengthened against raids by pirates from North Africa. Carved into the exterior wall is a radiant sun with a human face, a relief long credited to Bishop Juan del Castillo y Portocarrero. It was in fact commissioned decades earlier, in 1555, under Bishop Diego Fernández de Villalán, and has since become one of the city's own symbols, appearing on the University of Almería's emblem.