34 people were killed in a 6.2 magnitude earthquake that struck the Indonesian island of Sulawesi, Friday, according to the Disaster Mitigation Agency.

Frightened residents, who felt the earthquake for 7 seconds, sought refuge in safer areas after several buildings were damaged.

In a preliminary outcome, Ali Rahman, Director of the Disaster Management Agency on the island, said: “According to the latest information available, 26 people were killed, all of them in the city.

Several buildings, including a hospital, collapsed due to the earthquake, according to the authorities, while the authorities warned of a tsunami if the island was exposed to more earthquakes.
Earlier, the official in charge of rescue teams in the earthquake-affected city of Mamuju told (AFP): "The hospital was destroyed. It collapsed. There are patients and members of the hospital staff trapped in the rubble and we are trying to evacuate them."

He estimated that the number of the besieged was between 10 and 20, without being able to confirm whether they were alive.

Initial information released by the agency showed a number of dead and hundreds of wounded in Mageni and the neighboring Mamuju district, which has a population of 110,000.

Thousands of people fled their homes when the quake struck shortly after one o'clock in the morning local time, the agency said, and that at least 60 homes were damaged.

Video footage on social media showed residents fleeing to higher ground on motorcycles, a child trapped in rubble and people trying to remove the debris with their hands.

A magnitude 5.9 earthquake struck the same area hours earlier, Thursday, and damaged a number of homes.

Indonesia is located in an area of   seismic activity known as the Ring of Fire.