A Buxton man found with heroin after a police raid has been given a community order.
Police went to a flat on Fairfield Road in Buxton on January 8 to carry out a search, High Peak Magistrates’ Court heard.
Despite repeatedly knocking on the door, no-one answered, though Shaun Johnson could be seen looking out of one of the windows, prosecutor John Cooper said.
Officers looked through the letterbox and saw Johnson attempting to get into another flat in the same block but the occupiers refused him entry.
Eventually, he opened the door and because of his behaviour, officers searched him, finding a small resealable bag containing a brown powder.
The powder was later identified to be heroin with a street value of around £30.
In interview, Johnson admitted the drug was his and for his own personal use.
He said he had already smoked some of it and that he funded his habit by working as a self-employed scrap man.
The 47-year-old, of no fixed abode but who gave a care of address on Fairfield Road, admitted possessing a class A drug.
Kirsten Collings, defending, said: “Shaun Johnson is before the court for sentencing on a very small amount of heroin found on him during a search.
“He accepts his record aggravates matters but it is fair to say that the record shows that for three years prior to 2012 he kept out of the courts and out of trouble.
“It is also right to say there is no doubt he fell back into drug use after the breakdown of a very long-term relationship.
“What is very pleasing to hear is that he has already referred himself to the drugs service for assistance.”
He was given a six-month community order with supervision and a drugs rehabilitation requirement.
He was also fined £37 and ordered to pay £85 costs and a £60 surcharge.