An 80-bed care home has been given planning permission in Castleford.
The scheme will see the three-storey property built with a car park on the old Gillatts Quarry site, off Redhill Drive.
It has been unused since the quarry closed and is now covered in vegetation.
The Wakefield Council site was partly bought by West Yorkshire Fire and Rescue Service, which intended to build a community station on the land in 2009 before deciding against it.
Three letters of objection were submitted, citing increased traffic as an issue along with threats to wildlife.
There was also issues raised about drainage, as well as questions about the three-storey building not keeping within the character of the area.
The plans, submitted by Hill Care Ltd, will see 80 ensuite rooms built, with communal lounges and dining areas with kitchens and staff rooms.