In 1783 the town was almost destroyed by an earthquake, and it suffered some damage from the same cause in 1905.