An earthquake struck the border region of Iran and Iraq on Sunday, killing dozens of people and injuring hundreds, the authorities say.

The quake was centered about 19 miles outside Halabja, in eastern Iraq (about 125 miles northeast of Baghdad) and had a magnitude of 7.3, according to the United States Geologic Survey.

It struck shortly before 10 p.m. killing at least 61 people and injuring 300 in Iran, an Iranian official said, The Associated Press reported.

In Iraq, emergency workers said at least six Iraqis living in remote villages in Sulaimaniyah Province, near the Iranian border, had died.

And the head of Iraq’s water resource management, Hassan Janani, reported that the Darbandikhan dam, also in Sulaimaniyah, had sustained some damage, although his teams did not believe that residents were in any danger. A more complete assessment was planned after daybreak, he said.

In the provincial capital of Sulaimaniyah, the second-largest city in the Iraqi Kurdish region, residents described feeling heavy tremors but said there was no notable building damage. Residents in the oil-rich town of Kirkuk, located some 50 miles to the west, had similar reports.

In Baghdad, the tremors were strong enough to shake bookcases and wall-mounted television screens, sending residents in several neighborhoods out to the street. No damage was reported.