Rescuers searched the rubble of toppled buildings for bodies Tuesday, as the death toll from a powerful earthquake that struck a border region between Iran and Iraq climbed to at least 530.

The province of Kermanshah in western Iran was hardest-hit by Sunday's magnitude-7.3 earthquake. All of Iran’s fatalities occurred there. 

Iranian people collect belongings from damaged buildings after earthquake in city of Sare Pole-Zahab in Kermanshah Province, Iran, Nov. 14, 2017.

Iran's state-run IRNA news agency reported the new death toll Tuesday and said 7,460 people were injured.

Rescuers and local residents stood on top of the ruins of apartment complexes in the Kurdish town of Sarpol-e-Zahab in Kermanshah, searching for bodies and carrying them away with blankets.

More: Iran and Iraq reel after devastating earthquake kills more than 400

Casualties were taken to cities including the capital Tehran as the army set up field hospitals in Sarpol-e-Zahab. The local hospital was badly damaged. 

Newly-homeless quake victims slept outside and huddled around makeshift fires for warmth.

Mohammad Ali Monshizadeh, a spokesman for Kermanshah's forensic department, said as many as 150 people could have been buried by their relatives in remote villages and were not included in the official death toll, the semi-official ISNA news agency reported.

In Iraq, seven people died and 535 people were injured, all in the country’s northern, semiautonomous Kurdish region, the country's Interior Ministry said.

The quake, which the U.S. Geological Survey said was centered about 19 miles from the eastern Iraqi city of Halabja, caused skyscrapers in Dubai to sway and could be felt 660 miles away on the Mediterranean coast.

Iranian President Hassan Rouhani visited Kermanshah province Tuesday to see the damage and offer support to the victims.

“This was a pain for all Iranians. Representing the nation of Iran, I offer my condolences to the people of Kermanshah, and tell them that all of us are behind Kermanshah,” he said, according to a statement on the presidency's website.

The Palestinian militant group Hamas consoled Iran following the quake, the IRNA news agency reported.

“We received the devastating news with great pain and sadness, and we in Hamas extend our deepest condolences to the families of those affected,” said a quote attributed to Ismail Haniyeh, the head of Hamas’ political bureau, on Hamas’ official website, according to IRNA.

Contributing: The Associated Press