Massive waves of up to 13 feet (four meters) are pummeling the coasts of Ecuador and Peru, leaving scores of ports closed and at least one person dead on Saturday, authorities said.

Jetties and public squares were submerged in some parts of Peru, sending residents fleeing to higher ground, according to images on local media. The waves, according to the Peruvian navy, are being generated off the US coast by winds along the ocean’s surface.

Many beaches along the central and northern stretches of the country were closed to prevent risk to human life, authorities said. Dozens of fishing boats were damaged, while those that were spared were still unable to work in the dangerous conditions.

In neighboring Ecuador, the National Secretariat for Risk Management said a body was recovered in the coastal city of Manta.

Waves were hitting 13 feet in Peru and nearly seven feet in Ecuador. Huge waves were also seen crashing into the central Chilean coast in Vina del Mar, sparking warnings from authorities.

Peru closed 91 of its 121 ports until January 1, the National Emergency Operations Center said on its X social media account.

There is a major problem,” La Cruz district mayor Roberto Carrillo Zavala told AFP after surveying damage via helicopter with Peru’s Minister of Defense Walter Astudillo Chavez. “The most affected have been the fishermen,” Zavala said. “We hope nothing more happens, as this would significantly impact the economy.”

The waves “are being generated thousands of kilometers away from Peru, off the coast of the United States,” navy Captain Enrique Varea told Canal N television. “They are waves generated by a persistent wind on the surface of the ocean that is approaching our coasts,” he said.

The phenomenon began on Christmas and will last until January 1, according to the National Emergency Operations Center. Ecuador’s authorities said a “rough” sea was expected until December 29.