Residents were trapped in their homes after part of the roof collapsed at a block of flats in West Lothian.
Firefighters were called to Mosside Drive in Blackburn just before 21:30 on Thursday after structural problems damaged a stairwell.
Residents of the four-storey building were asked to remain in their homes.
Nobody was hurt in the incident and emergency services left the scene just before 02:30.
A West Lothian Council spokesman said: "We were notified of a collapsed stairwell roof at a block of privately-owned flats in Blackburn's Mosside Drive on Thursday.
"Council officers attended and assisted colleagues from the Scottish Fire and Rescue Service in making sure the area was safe for residents.
"Initial assessments suggest that lack of maintenance and damage caused by pigeons would be the likely cause of the collapse.
"Further checks are being carried out on the safety of the common access areas in the block of flats as a priority.
"The council would encourage the owners of the property to make good the damage already caused, and to carry out maintenance of the property to minimise the risk of further damage in the future."