A magnitude 7.3 earthquake that struck northern Iraq and parts of Iran has killed more than 330 people in both countries and injured more than 4,500, according to officials. It is the strongest quake to hit the region in years.

Most of the reports of dead and injured came from Iran, with an official there quoted by the semi-official ISNA news agency as saying 328 are dead and 3,950 hurt. The Kurdistan region Ministry of Health says eight people were killed in Iraq, seven in Kurdistan and an eighth in Diyala province. The health ministry said 535 had been injured.

State media report says Kermanshah is the hardest-hit province in Iran and that more than 140 victims come from a single town there — Sarpol-e Zahab, located about 10 miles from the Iraq border. The main hospital in the town was reported to have been heavily damaged.

According to Reuters, “Electricity was cut off in several Iranian and Iraqi cities, and fears of aftershocks sent thousands of people in both countries out onto the streets and parks in cold weather.”

Iran’s seismological center says it has recorded about 118 aftershocks. The head of Iran’s Red Crescent said more than 70,000 people were in need of emergency shelter, according to Reuters.

The AP quoting Iran’s state-run IRNA news agency, said rescue work was continuing overnight and would intensify come daybreak. AP quoted the semi-official ILNA news agency as saying at least 14 provinces in Iran had been affected by the earthquake.

The U.S. Geological Survey said the epicenter of the quake was located about 150 miles northeast of Baghdad and 450 miles west of Tehran. Tremors could be felt in both capitals, reports said.