In 1870, the Italian government built a railroad line into the city, which opened it up to the outside world.
During World War II, many young men from the Cinque Terre fought for the resistance against the fascist regime of Benito Mussolini, and the subsequent Nazi German occupation of Italy.