A teenager who started selling drugs on the street has avoided jail after a judge heard how he witnessed a terror attack.
When police conducted a search of Marcus Baxter's home, he was found to be in possession of cocaine, ecstasy, cannabis and money bags.
Teesside Crown Court heard how Baxter, aged 19, had been arrested after he was seen dealing drugs in the street, Teesside Live reports.
The court heard how Baxter was just 17 when he was found with drugs on March 13, 2019.
Prosecutor Ian West said Baxter originally claimed he was a victim of modern slavery before he later withdrew that defence.
He said Baxter was forced to admit his selling of cocaine was a convenient way of paying for his own cocaine as he had a good income elsewhere.
Baxter, of Speeton Avenue, Tollesby, pleaded guilty to two counts of possession of class A with intent.
He also admitted being concerned in the supply of class A and possession of a class B drug.
Michele Tuner, defending, told the court how his father was diagnosed with an illness after his last court hearing.
She said: "The diagnosis isn't good. His employer relocated him back to Middlesbrough so he can be with the family."
Ms Turner said there had been a "significant change" in Baxter and it has been a difficult time for the family.
She told Judge Jonathan Carroll that he fits the criteria for a suspended prison sentence with rehabilitation activity requirement days.
Ms Turner added that there was clearly issues that still remained after he witnessed a tragedy and the death of his friend.
She suggested to the judge that he could be supported.
Judge Carroll told Baxter: "It's right to say you have had trauma in your life including the terrorist attack in Manchester."
He said it was a "traumatic experience" and he started to get into the drugs world.
The judge told him: "I'm prepared to accept it was not your idea to start selling drugs, you were leaned upon.
"Once you got started in it, you rapidly realised there was a personal advantage to you.
"You were using drugs and you were selling drugs on behalf of others so in effect to fund your own habit."
Judge Carroll said Baxter was working at the time in an industrial setting and he was able to manage his drug use.
He said: "You were not somebody so in the grip of a drug addiction you had no choice.
"You did choose to sell drugs to fund your own habit. You didn't do it for very long."
The judge said he was an immature 17-year-old at the time and was probably functioning like a 16-year-old.
Baxter was sentenced to 24 months in prison suspended for two years.
He was also ordered to complete 150 hours of unpaid work and 30 rehabilitation activity requirement days.
Twenty-two people died - including a number of children - after an explosion tore through a pop concert at Manchester Arena, on May 22, 2017.
More than 800 other people received physical or psychological injures in the blast at an Ariana Grande concert.
Terrorist Salman Abedi was named as the suicide bomber who carried out the attack.
Don't miss the latest news from around Scotland and beyond - Sign up to our daily newsletter here.