A puppy and its 43-yearold owner are recovering after getting trapped in a garbage truck.

Provo, Utah Police Sgt. Nisha King said officers rescued the man and his puppy after they got caught by the truck’s compactor mechanism. The unidentified man and puppy were sleeping in a dumpster when the truck collected and compacted the bin’s contents with them still inside.

The driver stopped the machine after hearing the man call for help. He sustained minor injuries and was treated and released from a local hospital.

King said the pit bull-lab mix puppy was not hurt and has been transported to a shelter.