Indonesian emergency teams on Wednesday were looking for survivors of the magnitude-6.1 earthquake that hit the northern part of the island of Sumatra, leaving 27 dead and more than 200 injured.

At least six children lost their lives when the mosque they were inside collapsed in the town of Blang Mancung in central Aceh and where rescue teams found other children alive amid the ruins.

Rescue efforts have been hampered by the damage to roads providing access to the more remote areas, power outages and problems with the local telecommunications network.

"Some 1,500 buildings were damaged in the quake, including individual homes, mosques and government buildings, as well as several highways," said the spokesman for Indonesia's disaster management agency, Sutopo Purwo.

The earthquake also caused landslides and hundreds of people are being housed in temporary shelters.

"The public became scared and abandoned their houses during the temblor," said Purwo.

Indonesian President Susilo Bambang Yudhoyono said that the priority now is to find survivors and save the lives of the injured.

The quake, the epicenter of which was located at a depth of 10 kilometers (6.2 miles), sparked panic among the population of this region of Indonesia, where in 2004 a powerful temblor caused a tsunami that killed more than 226,000 people in a dozen nations bordering the Indian Ocean.

Indonesia is located on the so-called Ring of Fire, a zone of great seismic and volcanic activity around the Pacific Ocean where each year some 7,000 earthquakes occur, the vast majority of them minor to moderate in strength. EFE