IE 11 is not supported. For an optimal experience visit our site on another browser.

Earthquake hits off the coast of Indonesia

There were no immediate reports of deaths or damage following the quake.

A strong earthquake struck off the coast of Indonesia on Friday, triggering a tsunami warning that ended hours later.

The United States Geological Survey said the quake, initially reported to be a magnitude 6.8 or 7, hit off the coast of the island of Sumatra at a depth of 37 miles.

The Indonesian National Board for Disaster Management said in a tweet Friday morning that people in the Banten coastal area should "immediately evacuate to a higher place."

In an update later, the agency tweeted that the tsunami warning is "stated to have ended."

Download the NBC News app for breaking news and politics

Buildings in the capital of Jakarta swayed for almost a minute during the quake and television footage showed people running out of high-rise buildings, according to The Associated Press.

There were no immediate reports of deaths or damage, Reuters reports.