This video can not be played
People were rushed to hospital in Cianjur in the aftermath of the earthquake
An earthquake on the main Indonesian island of Java has killed scores of people and injured hundreds, say officials.
The 5.6 magnitude quake struck Cianjur town in West Java, at a shallow depth of 10km (6 miles), according to US Geological Survey data.
Scores of people were taken to hospital, with many treated outside.
Rescuers have worked through the night to try to save others thought to still be trapped under collapsed buildings.
The area where the quake struck is densely populated and prone to landslides, with poorly built houses reduced to rubble in many areas.
The exact number of people killed so far remains unclear. Indonesia's National Disaster Mitigation Agency (BNPB) has said their official death toll was 62, adding that another figure given by regional governor Ridwan Kamil – 162 – remains unverified.
Speaking to local media, Mr Kamil said some 326 people had been injured in the quake, noting that "most of them sustained fractures from being crushed in ruins".
But he warned some residents remained "trapped in isolated places" and said officials were "under the assumption that the number of injured and deaths will rise with time".
The West Java governor added that more than 13,000 people had been displaced by the disaster, and the BNPB said more than 2,200 homes had been damaged by the quake.
Herman Suherman, the head of administration in Cianjur town, said most injuries were bone fractures sustained from people being trapped by debris in buildings.
"The ambulances keep on coming from the villages to the hospital," he was quoted by AFP news agency as saying earlier in the day. "There are many families in villages that have not been evacuated."
Many of the injured were treated outside in a hospital car park after the hospital was left without power for several hours following the quake, West Java's governor said.
On Monday night, Mr Kamil wrote on Twitter that it could take up to three days for power to be fully restored to the area. He added that mobile phone reception remained poor and was causing "a lot of problems" for officials.
The tremor could also be felt in the capital Jakarta about 100km away, where people were evacuated from high-rise buildings.
Office workers rushed out of buildings in the civic and business district during the tremor, which started at 13:21 Western Indonesian time (WIT) on Monday, the agency said.
"I was working when the floor under me was shaking. I could feel the tremor clearly. I tried to do nothing to process what it was, but it became even stronger and lasted for some time," lawyer Mayadita Waluyo told AFP.
An office worker named Ahmad Ridwan told news agency Reuters: "We are used to this [earthquakes] in Jakarta, but people were so nervous just now, so we also panicked."
Earthquakes are common in Indonesia, which sits on the "ring of fire" area of tectonic activity in the Pacific. The country has a history of devastating earthquakes and tsunamis, with more than 2,000 killed in a 2018 Sulawesi quake.
Dozens dead as Indonesia quake flattens hospital
Police hail 'heroes' who tackled gunman at US club
Indonesia quake kills scores and injures hundreds
Iran players decline to sing national anthem
Why US election results are taking so long
Weekly quiz: What was Trump's nickname for rival?
She Said stars praise women who accused Weinstein
Katty Kay: My interview with election-denier Kari Lake
Why Canada aims to bring in 1.5m immigrants by 2025
Which actor kicked off the World Cup? Our timed quiz…
How Covid is rising again in China
Is Zimbabwe any better off without Mugabe?
Tech layoffs threaten American dream of India workers
The source of half the world's lithium
The clever homes hidden from pirates
The exes trapped in shared homes
© 2022 BBC. The BBC is not responsible for the content of external sites. Read about our approach to external linking.
This video can not be played