A mill is to be demolished as fire crews dampen down a blaze which led to the evacuation of nearby homes.
About 30 properties were evacuated as a precaution as more than 50 firefighters worked to stop the flames spreading in Greenfield Lane, Rochdale, on Monday night.
Bury and Rochdale Magistrates' Court was opened as a shelter, but residents were soon allowed to return to their homes.
Pictures from the scene showed the building engulfed in fire, with flames visible from miles around. There were no reported injuries.
The fire service said crews were called to the mill, which was used to store candles and vehicles, at just before 10.35pm on Monday.
On Tuesday, Greater Manchester Fire and Rescue Service (GMFRS) said it had scaled down its operation overnight, but four fire engines and a hydraulic platform remain at the scene as the blaze is still not out.
The roof of the building has collapsed inwards and firefighters are arranging demolition of the building so they can reach the pockets of fire that remain inside the building, added GMFRS.
Station manager Nick Hince said: