Convicted dealer Steven Meredith celebrated his negative drug test – by buying nine wraps of heroin.
The 62-year-old had received a two-year community order in May last year for possessing crack cocaine and heroin with intent to supply.
It included a drug rehabilitation requirement, which meant he had to give regular samples to check that he was no longer taking drugs.
But Stoke-on-Trent Crown Court heard the long-term addict – who had failed the previous tests – was so relieved to finally pass that he went out and scored more heroin.
Prosecutor Timothy Ashmole said: “The defendant was stopped near Hanley bus station for a drug search.”
Officers discovered Meredith’s heroin wraps contained £90 worth of the class A drug. He admitted in interview that it was for his own use.
He went on to plead guilty to possessing diamorphine – an alternative name for heroin – on February 21.
Jason Holt, mitigating, said: “He is thoroughly ashamed to be back in this court.”
He told the court that Meredith felt he was ‘too old for this game’ and realised he had to sort out his life.
The defendant has spent the last 17 months staying at the Hanley-based Macari Centre and was due to move to one of its new self-contained pods.
“He describes them as being like Nissen huts in a warehouse, where each person is effectively being given a bedsit,” added Mr Holt. “He is excited at the prospect of more independent living.”
But the latest offence means Meredith will now be heading to prison instead of a pod.
Judge Paul Glenn told him: “You had every chance and you’ve blown the chances you were given.”
He revoked the community order and imposed two years in jail in its place.
Meredith has also been sentenced to one month in prison for the latest offence, which will run concurrently with the other term.