Pittsburgh Bureau of Fire and police officers from Zone 3 responded to the 2100 block of Brownsville Road for reports of a male in the back of a garbage truck just after 3:30 a.m.
When they arrived on scene they were met by a driver with Republic Services who stated he was emptying a garbage container into the back of his truck when a male fell in.
He told police that when the truck lifted the container he thought he could hear screaming, but he emptied it and brought it back to the ground when he started hearing louder screams.
The driver got out of the truck and opened a rear sliding door to find a male inside.
He called 911 because he could not get him out on his own.
Pittsburgh Bureau of Fire arrived to retrieve the man from the back of the truck.
The man told police he had lost track of the friend he was with the night before and got into the garbage container because he needed a place to sleep.
EMS transported the male to Mercy Hospital to treat some minor injuries to his face and knee.