(CNN) - It was five days before Christmas, and luckily for Gem the puppy, the creature was stirring on the trash-sorting conveyor belt.
Workers at a trash- and recyclables-sorting facility in San Francisco found the poodle mix in a trash bag among other discarded material Friday evening -- just in time, because it was about to drop into a pile bound for a landfill, CNN affiliate KTVU reported.
The discovery likely saved the apricot pup's life.
"We could tell the puppy was still moving, and it was trying to crawl out of the bag itself," Gregory Foster, a material handler at the Recology facility, told KTVU. "Luckily we stopped the line in time before it actually fell off the belt into the pit."
The dog, believed to be a few months old, apparently was put in a bin of trash that Recology collected and drove to the facility. It was then put on the conveyor belt, where workers separate recyclables from landfill-bound trash, KTVU reported.
The puppy was suffering from what appeared to be animal bites, San Francisco Animal Care and Control said. It had wounds to the neck, head and ears, CNN affiliate KGO reported.
The animal control department named the puppy, noting it was a "precious little gem" among the trash, department Capt. Le-Ellis Brown told KGO.
The department said it is trying to determine who the puppy's owner was, how it was injured and how it got into the trash. Veterinarians will help the puppy heal before it is put up for adoption, KGO reported.
Sunday, April 20 2014 10:01 AM EDT2014-04-20 14:01:18 GMT
Authorities are investigating a deadly plane crash. Officials tell TV 5 a small plane went down Saturday afternoon in a field in Shiawassee County. Two people are confirmed dead. Officials are still onMore >
Airplane crashed onto Mid-Michigan field Saturday.More >
Saturday, April 19 2014 6:15 PM EDT2014-04-19 22:15:00 GMT
Michigan State Police Troopers of the Tri City Post are investigating a fatal motorcycle crash. The crash occurred at 3:55 p.m. on April 18. The motorcycle was traveling at a high speed when the driverMore >
Michigan State Police Troopers of the Tri City Post are investigating a fatal motorcycle crash.More >
ObitMichigan.com is dedicated to delivering immediate, up-to-date information on obituaries 24 hours a day, 7 days a week to families and friends in Mid-Michigan. Death notices are displayed during theMore >
ObitMichigan.com is dedicated to delivering immediate, up-to-date information 24 hours a day, 7 days a week to families and friends who have lost loved ones.More >
Saturday, April 19 2014 12:06 AM EDT2014-04-19 04:06:58 GMT
Cell phone video captured a fight between two girls in front of Bay City Central High School Thursday. "She turned and punched me in my forehead, so then we just got in a big fighting session," claimedMore >
Cell phone video captured a fight between two girls in front of Bay City Central High School on Thursday.More >
Saturday, April 19 2014 10:00 AM EDT2014-04-19 14:00:16 GMT
A local business manager was stunned to see her most recent water bill to the tune of $18,000. Kim Haken runs the "Columbus Laundromat" in Bay City. When she called the city to ask about the problem,More >
A local business manager was stunned to see her most recent water bill to the tune of $18,000.More >
Saturday, April 19 2014 7:35 PM EDT2014-04-19 23:35:21 GMT
AT&T has announced it's hiring right here in Mid-Michigan. It's the latest positive development for downtown Saginaw in recent weeks. Saginaw resident Linton Patrick was excited about the possibilityMore >
AT&T has announced it's hiring right here in Mid-Michigan.More >
Saturday, April 19 2014 10:12 AM EDT2014-04-19 14:12:08 GMT
Flames ripped through a local home late last night and investigators believe it was no accident. It happened late last night on the corner of North Granger and Madison in Saginaw. Firefighters brokeMore >
Flames ripped through a local home late last night and investigators believe it was no accident.More >