Follow CBSDFW.COM: Facebook | Twitter

DALLAS (CBSDFW.COM) – A homeless man who fell asleep in a dumpster on Lake June Road woke up in the hospital today.

READ MORE: Former West Mesquite High School Football Player Aaron Lowe Fatally Shot In Utah

The dumpster was emptied by city workers into the back of a trash truck as scheduled.

The driver of the truck saw the man through a camera mounted on the truck, according to Dallas Fire-Rescue spokesman Jason Evans, but not before the compactor was activated.

READ MORE: 'What More Would I Want?' Dallas Cowboys Trumpeter Freddie Jones On Entertaining Fans 

The man survived with some injuries.

Firefighters dug through waist-deep trash to rescue him.

MORE NEWS: Denton Police Searching For Hit-And-Run Driver Who Struck Woman In Wheelchair 

(©2016 CBS Local Media, a division of CBS Radio Inc. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed.)