LOS ANGELES -- A powerful magnitude-8.3 earthquake hit off Chile's northern coast Wednesday night, causing buildings to sway in the capital of Santiago and bringing flooding from small tsunami waves in some shore towns.A tsunami advisory was also issued in California from San Onofre State Beach in San Clemente to Ragged Point, which is located 50 miles northwest of San Luis Obispo.Anyone located in the coast areas was urged to stay away from the beaches, harbors and marinas. Advisories mean a tsunami capable of producing strong currents or waves will occur or is already occurring in the waters.The waves were expected to hit the California beaches between 4:45 a.m. and 5:15 a.m. Waves could be as big as three feet or more and the advisory was in effect until further notice, according to the National Oceanic and Atmospheric Administration.All Orange County beaches, harbors and marinas were shut down as of 4 a.m. Thursday.Chilean officials reported at least five deaths. There were no reports of serious damage hours after the quake, but officials were still checking the region late into the night.Authorities had issued a tsunami alert for Chile's entire Pacific coast, and the tremor was so strong that people on the other side of the continent, in Buenos Aires, Argentina, reported feeling it.Numerous strong aftershocks, including one measuring 7.0 magnitude and three above 6, rattled the region after the first major tremor since a powerful quake and tsunami killed hundreds in 2010 and leveled part of the city of Concepcion in south-central Chile."Once again we must confront a powerful blow from nature," President Michelle Bachelet said, addressing the nation late Wednesday.Bachelet said three people had been killed in the quake but gave no details. She urged people who had been evacuated from coastal areas to stay on high ground until authorities could fully evaluate the situation early Thursday.Late Wednesday, authorities lifted the tsunami warning for Chile's far southern regions. The warnings remained in effect everywhere else, and authorities said school classes would be canceled in most of the country Thursday.Jorge Medina, a Santiago resident, said he was in an aerobics class when the quake hit."People started screaming that everything was shaking," he said.Officials ordered people to evacuate low-lying areas along the 2,400 miles (3,900 kilometers) of Chile's Pacific shore, from Puerto Aysen in the south to Arica in the north. Fishing boats headed out to sea and cars streamed inland carrying people to higher ground. Santiago's main airport was evacuated as a precaution and authorities announced classes would be suspended in the port city of Valparaiso on Thursday.Chile state TV showed water flowing in streets of Concon, a coastal town known for its beautiful beaches that is close to Valparaiso. Higher water was also seen in other cities but no destructive high waves had been reported.Authorities said some adobe houses collapsed in the inland city of Illapel, about 175 miles (280 kilometers) north of Santiago. Illapel is about 34 miles (55 kilometers) east of the quake's epicenter.Illapel's mayor, Denis Cortes, told a local television station that a woman had been killed in the city but declined to give any details.Electricity was knocked out, leaving the city in darkness. "We are very scared. Our city panicked," Cortes said.The U.S. Geological Survey initially reported the quake at a preliminary magnitude of 7.9 but quickly revised the reading upward to 8.3. Chilean authorities put the magnitude at 8.4.U.S. officials said the quake struck just offshore in the Pacific at 7:54 p.m. (6:54 p.m. EDT, 1154 GMT) and was centered about 141 miles (228 kilometers) north-northwest of Santiago. It said the quake was 7.4 miles (12 kilometers) below the surface.The Pacific Tsunami Warning Center initially issued a tsunami watch for Hawaii, but later downgraded its advisory and said no major tsunami was expected.A magnitude-8.8 quake and ensuing tsunami in south-central Chile in 2010 killed more than 500 people, destroyed 220,000 homes, and washed away docks, riverfronts and seaside resorts. That quake released so much energy, it actually it shortened the Earth's day by a fraction of a second by changing the planet's rotation.The quake had huge ramifications, both political and practical, prompting the Andean nation to improve its alert systems for both quakes and tsunamis.While Wednesday's tremor was strong by any estimation, the 2010 quake was 5.6 times more powerful in terms of energy released, according to the U.S. Geological Survey."The tsunami potential may be the biggest issue," said USGS seismologist Paul Earle.Chile is one of the world's most earthquake-prone countries because just off the coast, the Nazca tectonic plate plunges beneath the South American plate, pushing the towering Andes cordillera to ever-higher altitudes.The strongest earthquake ever recorded on Earth happened in Chile - a magnitude-9.5 tremor in 1960 that killed more than 5,000 people.