But it was severely devastated by 2 earthquakes. The first was in 1531. The worst was in 1755, an huge tragedy that left marks in European culture (creation of seismology, a bit discussion on the vindication of God within the Enlightenment,...)
Yeah in 1775 it happened during All Saints Day, and I think they still say "Todos os Santos não chegaram"which translates to something like "All saints were not even enough to save us"