IQUIQUE, Chile — Coastal residents of Chile's far-north spent a second sleepless night outside their homes early Thursday after a major aftershock rattled an area hit a day earlier by a magnitude-8.2 earthquake that caused some damage and six deaths. No new major damage or casualties were reported.

After the 7.6-magnitude aftershock struck just before midnight Wednesday, Chile's Emergency Office and navy issued a tsunami alert and ordered a precautionary evacuation of low-lying areas for the country's whole 2,500-mile (4,000-kilometer) Pacific coastline.

Among those moved inland was President Michelle Bachelet, who was in the city of Arica assessing damage in the north from Tuesday night's powerful quake.

"I was evacuated like all citizens. One can see that the people are prepared," she tweeted early Thursday.

Chile's evacuation order was lifted at around 2 a.m. Thursday. The whole coast also was evacuated for several hours after Tuesday's quake, and for the night in the north, although the tsunami proved small.

The aftershock caused buildings to shake and people to run out into the streets in the port of Iquique, which was one of the cities that suffered damage from the Tuesday earthquake. There were no immediate reports of serious damage or injuries from the aftershock, which was one of dozens that have followed the magnitude-8.2 quake.

State television said the aftershock caused some landslides near Alto Hospicio, a poor area in the hills above Iquique where about 2,500 homes were damaged by Tuesday' earthquake.

Copyright 2014 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.