Police said the man lowered himself into the underground waste paper container when he realized he had accidentally thrown away his lottery ticket and was heard shouting for help when he was unable to climb back out.
Police and firefighters arrived and were able to rescue man, who was not injured.
The man was not able to find his lottery ticket, police said.
They said it was not yet known whether the ticket was a winner.
Celebrity Breakups and divorces of 2014 [PHOTOS]