The city, along with others near the Pacific coast, was damaged during the 2007 Peru earthquake.