A supermarket cleaner who sold cannabis to pals to support his own habit has been spared jail.
Joseph Wallace started taking the drug to help cope with his injuries after a serious car accident last year.
Newcastle Crown Court heard the 28-year-old, who has never been in trouble before, turned dealer to pay for his supply.
Wallace, of Primate Road, Plains Farm, Sunderland, admitted possession and possession with intent to supply.
Prosecutor Michael Bunch told the court police found 14 quarter ounce packages of cannabis when they searched Wallace’s address on August 8.
Evidence of dealing came from text messages on his mobile phone.
Prosecutor Michael Bunch told the court: “He accepted he did supply to others, making some profit from it.
“He was selling to 12-18 people.”
Mr Recorder Christopher Williams sentenced Wallace to eight months imprisonment, suspended for 18 months, with a six month evening curfew.
The judge told him: “I accept you had been injured in an accident and you were effectively self medicating, unwisely.”
The judge said he accepted Wallace was extremely sorry and ashamed and that he had only been dealing for around two months.
He added: “I believe you wont be back before this court.”
Joe Hedworth, defending, said Wallace, who fractured both hands in the car smash, work unsociable hours as an industrial cleaner at a supermarket.
Mr Hedworth added: “He has suffered punishment already, the loss of his good name.
“He is extremely sorry, he is ashamed.”