A road was closed after a lorry overturned, spilling 24 tonnes of household waste onto a grass verge.
Police were called to Great North Road, near the Quality Inn hotel in Aberford, shortly after 10am on Tuesday.
Paramedics were also called and the driver was taken to hospital, although it is not thought that he was seriously injured.
The road remained closed as a digger was brought to the scene to begin a clean-up lasting several hours.
West Yorkshire Police’s roads policing unit later tweeted the above picture of the lorry on its side, with its windscreen smashed, along with the message: “Great North Road, Aberford, Leeds. 24 tonnes of household waste! Nice! All clear now.”
It is thought the waste was being carried by a private company rather than a council refuse collection team.