A huge rescue effort is under way after a powerful earthquake on Iran's mountainous border with Iraq killing more than 400 people and injuring more than 7000.
Teams are looking for survivors trapped in the rubble of collapsed buildings.
Most people who died were in western Iran - in Sarpol-e-Zahab, a town 15km from the border, and other parts of Kermanshah province.
The town's main hospital was severely damaged, leaving it struggling to treat hundreds of wounded, state TV reported.
A woman and her baby were pulled alive from rubble in the town, Iranian media said.
Running water and electricity cut out in some cities, and after buildings collapsed people were forced to spend hours outdoors in parks or streets in cold weather.
Many homes in the predominantly Kurdish mountainous area are made of mud bricks and are vulnerable in large quakes.
One aid agency said 70,000 people needed shelter after the quake, and there were reports that thousands of people were facing a second night in the cold as dusk fell.
Iranian officials said 407 people had died in the country. Some soldiers and border guards were among the dead, the Iranian army's commander-in-chief told the state news channel IRINN.
In Iraq, nine have died, a Red Crescent spokesman told the BBC. A UN office in Iraq said more than 500 people were injured there, and the earthquake was felt in Irbil, Sulaimaniya, Kirkuk and Basra as well as the capital, Baghdad.
Landslides have made it harder for rescuers to reach those affected in rural areas, and there are fears a dam in Iraq could burst after it was damaged by the earthquake. People living nearby have reportedly been asked to leave.
The quake is the deadliest in the world this year.
It hit at 21:18 local time about 30km south of Darbandikhan, near the north-eastern border with Iran, the US Geological Survey (USGS) said.
More than 1.8 million people live within 100km of the epicentre, the UN estimates.
The earthquake struck at a relatively shallow depth of 23.2 km, and tremors were felt in Turkey, Israel and Kuwait.