A demolition order has been served on an eyesore building that has blighted part of Gomersal for years.
Kirklees Council confirmed a demolition order had been sent to the owners of the old Maccess building in Spen Lane following a major blaze there last month.
The notice will take effect, subject to any appeal, on February 7, with the owners required to demolish the site within eight weeks.
People living near the derelict building say it has become an increasing eyesore over the years, and there have been several fires.
After the most recent blaze, members of Gomersal Mothers’ Union were among those who wrote to Kirklees asking for action to be taken.
Trees Fewster said the building had also become a dangerous hangout for young people.
She said: “Young people used to gather in there, and it is a dangerous building.
“Gomersal is such a nice place, and the building was bringing the area down – it has caught fire several times and is a health-trap.
“We are pleased at the decision, but we hope the owners don’t appeal it. The building has been up for too long and it needs to come down.”
Five fire engines and more than 20 firefighters were called out to December’s blaze and were at the scene for more than four hours.
Firefighter Danny Shuttleworth, from Batley Fire Station, told the Guardian at the time: “We have been here loads of times – it needs pulling down.
“My watch has been here about half a dozen times, and that’s only one watch.”
A spokesman for Kirklees Town Planning confirmed a notice had been served to London-based Castlerock Capital, which owns the building. Castlerock have not commented on whether they will appeal the decision.