JAKARTA – An earthquake of magnitude 5.6 struck Indonesia's main island on Monday, killing at least 50 people, the country's rescue agency revealed.

Reports in international media quoting sources said a number of causalities could rise even further, while landslides have affected evacuation efforts in the quake-hit nation.

The epicenter of today’s quake was near the West Java town of Cianjur, where several buildings have been damaged.

Disturbing graphics on social media show several buildings with their roofs collapsed, while local authorities warned the masses to watch out for aftershocks.

The Southeast Asian nation witnessed several earthquakes due to volcanic eruptions and tsunamis. Earlier this year, more than two dozen people were killed in West Sumatra province.

The 2004 earthquake is still remembered as one of the worst natural disasters in Indonesia in which more than 230,000 people were killed.

Authorities said they had rescued two people trapped in a landslide in Cianjur but a third person had died.

“We managed to evacuate a woman and a baby alive, but the other one passed away. That’s the only thing I can share for now,” Cianjur police chief Doni Hermawan

“We call on people to stay outside the buildings for now as there might be potential aftershocks,” the head of Indonesia’s meteorological agency said, AFP reported.