A pilot programme at Hawke's Bay Regional Prison is saving dogs earmarked to be put down and giving them a "second chance" at life.
They are chosen and taken from their own death row and into the care of prisoners, who train the pets for six weeks before they are put up for adoption.
Similar programmes are well established in the US and the Hawke's Bay version - now in its fifth week - was the brainchild of dog behaviorist and trainer Steve Dunworth and established in conjunction with Adopt A Dog.
Trained in Australia, Mr Dunworth had seen the effects similar programmes had overseas. A trained dog is much more likely to be successfully adopted than one which is not.
"I'm totally freelance, so I don't actually work for the prison but I put this programme together and presented it to them and they said: 'fantastic'," Mr Dunworth said. "The first day I came in with the dogs, the guys put on a fantastic welcome and I thanked them then on the dogs' behalf, because they've saved a life."