A 14-year-old girl was killed and 15 people were injured Tuesday when an earthquake hit the island of Sumatra in Indonesia, according to a government agency.

The 5.9-magnitude earthquake struck 37 kilometers (23 miles) under Aceh province, and a 4.7-magnitude aftershock followed 26 minutes later, the U.S. Geological Survey said.

The casualties occurred in an area where 71 homes were damaged, Indonesia’s National Disaster Management Agency said.