Twenty people have spent the night in emergency accommodation after their block of flats went up in fire after being struck by lightning.
Fire crews were called to Heritage Court in Campbell Street, Greenock at around 6pm on Thursday.
Residents were evacuated and nearby streets closed to traffic as firefighters fought the flames, close to Ocean Terminal where the MS Artania cruise ship is currently docked.
It took 30 firefighters to put out the flames in the roof of the building, which houses eight flats.
Crews rescued 14 people from the close and the residents of the block spent the night in emergency accommodation.
The building will be assessed on Friday to see how much damage was caused.
A Fire Service spokesman said: "Fire crews were mobilised and arrived to discover a well developed fire in the roof space of a four storey building.
"Firefighters wearing breathing apparatus were deployed into the building to search for people who had not been accounted for whilst other crews tackled the fire with main jets and a ground monitor.”
No one was injured in the fire.
The blaze was caught in the dramatic footage above by the operator of the town's webcam, Robert Cassidy.
You can watch footage from the webcam above. The video is from the webcam footage of the blaze and contains no sound.
More About Weather
- Storm warning amid forecasts of high winds and plunging temperatures
- Weather and flood warnings issued as heavy rain forecast for Scotland
- Commonwealth Games spectators make the most of Glasgow heatwave
- Scotland swelters in summer sun as temperatures soar past 27C
- Pollution warning as 2014 set to be Scotland's second warmest year
- Scotland records UK's hottest day of 2014 as temperatures top 26C
- Scotland sizzles like Ibiza in warmest day of the year at 26C
People who read this story also read
- Flooding hits parts of Scotland as more torrential rain forecast
- Body of missing man discovered in Renfrewshire dam by police
- Flood warnings in place as more thunderstorms set to soak Scotland
- Man climbs down two floors to escape armed robbers at his home
- Guinea pig savaged to death by dog after pair were dumped in park