A dealer who sold drugs to an undercover police officer has been spared jail.
Robert Wilson handed over one morphine tablet and eight diazepam pills to a man he believed was an addict.
But Newcastle Crown Court heard the customer, who handed over £20 for the deal was a police officer involved in an operation to snare street dealers.
Prosecutor Kevin Wardlaw told the court: “Undercover officers were targeting drug crime in Sunderland city centre.
“The officer, ‘Gary’, bought £20 worth of drugs and that was the end of this defendant’s involvement.”
Wilson, 31, of Gilhurt Grange, Sunderland, admitted supply of class a and b drugs.
The court heard he has previous convictions for drug possession and dealing and is keen to address his problem.
Judge Robert Adams sentenced him to 12 months imprisonment, suspended for 18 months, with supervision and drug rehabilitation.
The judge told him: “It is clear you have a history of drug use.”