A major earthquake of magnitude 8.2 struck off the coast of Chile on Tuesday, leading to five deaths and triggering a tsunami that pounded the country's northern coast with 2-meter-tall waves.
Officials said the dead included people who were crushed by collapsing walls or were killed by heart attacks.
The U.S. Geological Survey said the quake was shallow at 12.5 miles (20.1 km) below the seabed and struck about 100 km northwest of the mining port of Iquique near the Peruvian border.
Mining in the world's No. 1 copper producer did not appear significantly interrupted, but about 300 prisoners took advantage of the emergency and escaped from a female penitentiary in Iquique.
About 26 of the women were soon recaptured, authorities said, while security forces fanned out through the area amid reports of power outages and isolated looting.
The Pacific Tsunami Warning Center said the quake generated a large tsunami with the biggest wave reported at about 2 meters. The Chilean navy said the first big wave hit the coast within 45 minutes.
Iquique is a key port, close to Chile's main copper mines. The area has been on high alert in recent weeks after an unusual number of tremors, and a series of aftershocks further frayed nerves in the early hours of Wednesday.
The city is more than 1,500 km north of Chile's capital Santiago, where the quake was not felt.
Photos showed Chileans calmly evacuating coastal areas on foot, with policemen helping bundled-up elderly people and some residents loading up vehicles with their belongings.
Seismic Chile has strict tremor-proof construction regulations and most residents stay calm during quakes, which helps to limit harm.
The government evacuated Chile's northern coast and President Michelle Bachelet declared the area a disaster zone, promising troops and police reinforcements to maintain public order while damage was repaired after landslides blocked roads.
Lauding Chile's initial response to the quake, Bachelet said in a televised address: "The government will work for as long as necessary to confront this emergency."
The center-left president, who only returned to power last month, was due to travel to the north on Wednesday morning.
In 2010, at the end of Bachelet's first term as president, an 8.8-magnitude quake triggered a tsunami that devastated several coastal towns in central-south Chile, a disaster that killed 526 people.
State-owned miner Codelco and other major copper companies reported no harm to workers or mines and said operations in northern Chile were normal. Still, the massive Collahuasi mine evacuated workers so they could be with their families.
A tsunami warning was issued for the Pacific coast of Mexico through Central and South America.
"An earthquake of this size has the potential to generate a destructive tsunami that can strike coastlines near the epicenter within minutes and more distant coastlines within hours," the Pacific Tsunami Warning Center said.
A tsunami advisory was issued for Hawaii, although no disaster was expected to hit the island state.
"Sea level changes and strong currents may occur along all coasts that could be a hazard to swimmers and boaters as well as to persons near the shore at beaches and in harbors and marinas," the warning center said.
Authorities in Peru started evacuating communities in the southern coastal region of Ica. Electricity was partially lost in the Peruvian cities of Tacna, Moquegua and Arequipa but there were no reports of deaths or serious damage there.