Humane Society of the United States One of the beagles used in a yearlong pesticide toxicity test in Michigan looks out from his cage.

Laboratory beagles previously force-fed fungicides and set to be euthanized are now slated to be released to an animal welfare organization after public outcry.

Thirty-two beagles will be going to the Michigan Humane Society, which operates adoption centers in the Detroit metropolitan area, within two weeks, spokesman Andy Bissonette told HuffPost. He added that earlier reports saying there were 36 beagles at the lab were inaccurate.

This month the Humane Society of the United States released photos and videos from Charles River Laboratories in Michigan, which was conducting a yearlong experiment on behalf of Corteva Agriscience, an agriculture division of DowDuPont.

The tests involved force-feeding the beagles toxic substances with the goal of determining how much damage they did to the dogs’ bodies.