JAKARTA: Five people were killed and a child was critically injured when a powerful earthquake struck off the coast of northern Indonesia on Wednesday, the country’s disaster mitigation agency said on Thursday.

At least two people died because of heart attacks, one died because of shock and a child was critically injured when a tree fell, said Sutopo Purwo Nugroho, a spokesman for the agency, who gave no further details.

“Casualties and other damage are still being assessed,” he said in a message sent to reporters by text.

The 8.2 magnitude earthquake sent panicked residents into the streets in Aceh and was felt as far away as southern India.

It was followed by a series of strong aftershocks. But there was no repeat of a big tsunami that followed a quake in roughly the same area in 2004. That disaster killed at least 230,000 people in 13 Indian Ocean countries.