BALTIMORE (WJZ) – 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: US Pharmacies Are Rolling Out Free N95 Masks As Free COVID-19 Tests Begin To Arrive In The Mail

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: 3 Baltimore Firefighters Killed In Partial Building Collapse, 1 In Critical Condition

“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: Maryland Weather: Potential Nor'Easter Could Bring Snow This Weekend

Follow @WJZ on Twitter and like WJZ-TV | CBS Baltimore on Facebook