HANCOCK, OH (CBS Local) – A photo of a shelter dog named Gregory on his “freedom ride” has gone viral. Gregory was scheduled to be euthanized at the Franklin County Dog Shelter in Ohio when his new pal Joe Kirk came to pick him up and bring him to safety.

Kirk works at HOUND Rescue and Sanctuary in Ohio, a special place for hound dogs that need homes. When dogs are rescued from shelters, they go on “freedom rides” to places like HOUND Rescue and Sanctuary. These sanctuaries allow dogs to live without the threat of euthanasia until they’re adopted.

READ MORE: Website To Order Free At-Home COVID-19 Tests Is Up And Running

ALSO: Man Dies Attempting Selfie With Bear, Stray Dog Tried To Save Him

Gregory kept hugging Joe on his ride to the sanctuary — almost as if he knew he was being saved from doggy death row.

READ MORE: Argument Preceded Shooting That Left Man, Woman Hurt In Elk Grove; Suspect Still Sought

“The BEST Freedom Ride Picture EVER! Pulled from the Euthanasia List at FCDS today… “Gregory” is one thankful and appreciative Beagle! He KNOWS he is SAFE!” the sanctuary wrote on Facebook, with a photo of Gregory cuddling up to Kirk in the car. The heartwarming embrace has been liked and shared thousands of times since May 1.

Gregory has a heartworm, but once he has been cleared by the vet, he will be available for adoption and will placed in a forever home. One might say the pup now has a new “leash” on life.

MORE NEWS: Woodland Woman, 19, Reported Missing Found Dead In Crash Off I-80 In Natomas

[H/T CBS News]