A beagle that survived the gas chamber is working to protect animals against inhumane forms of euthanasia, and the lucky dog will take his story of survival to the Rose Parade.

Daniel the beagle was 6 months old when he and 17 other dogs were placed in a gas chamber filled with carbon monoxide.

Workers at the Florence, Ala., animal control facility were surprised when the puppy emerged from the chamber with his tail wagging.

Volunteers took the "Miracle Dog" — they named him Daniel after the biblical figure who survived the lions' den — to the veterinarian and then reached out to animal-rescue groups to find Daniel a forever home.

The Eleventh Hour Rescue of Rockaway, N.J., took the puppy, and Daniel was soon adopted.

Daniel, who’s now 2 years old, has been living with motivational speaker Joe Dwyer and his four other rescue dogs in Nutley, N.J., ever since.

"He's definitely one of the most joyous, happy dogs I’ve ever met in my life," Dwyer told The Associated Press. "I think his positive attitude is why he’s survived."

But Daniel doesn't spend his days enjoying the lazy life of a spoiled dog. The beagle regularly attends rallies and fundraisers supporting legislative efforts to end the use of gas chambers.

Dwyer says Daniel's survival story has prompted laws in 31 states that protect shelter animals against inhumane euthanasia.

On New Year's Day, Daniel will be among eight shelter dogs riding on a Rose Parade float sponsored by the Lucy Pet Foundation. The beagle has been chosen as the organization's "spokesdog."

Daniel will perform his "high five to keep pets alive" trick and spend time with other animal shelter survivors during the parade.

An animal's chances of surviving a gas chamber are slim, according to the ASPCA, but variables that could allow a dog to live through it include the number of animals in the chamber, carbon monoxide concentration, whether the chamber is airtight, and the dog's health. Young, healthy animals have the best chance for survival.

Learn more about Daniel and his amazing story in the video below.

Related on MNN: