Lewis Stewart, 22, made at least £20,000 from his illegal drug dealing business and had nearly £35,000 in a safe at his home, York Crown Court heard.
He has a previous conviction for robbery in 2020 when he was a youth.
The Recorder of York, Judge Sean Morris, said the UK was the cocaine capital of Europe and he regularly had to sentence those who robbed, burgled and attacked elderly women in the street to pay people like Stewart.
“It is the scourge of society, and you played a significant role,” he said. “What on earth you thought you were doing, I don’t know. The only answer is greed.”
He jailed Stewart for four years.
Defence barrister Andrew Semple said since his arrest and remand in custody, Stewart had set up a chess club in prison to help other prisoners pass the time.
Rob Galley, prosecuting, said North Yorkshire Police stopped Stewart at the wheel of a small van on the A64 near Tadcaster heading towards York on January 26 this year.
YOU’LL FIND MORE ON THIS STORY AND OTHERS AT www.yorkpress.co.uk OR PICK UP YOUR COPY OF THE NEWSPAPER ITSELF AVAILABLE SIX DAYS A WEEK AT YOUR LOCAL NEWSAGENT

Heart-Warming Response To Age UK York's 'Stamp Out Loneliness' Campaign
Northern Aldborough Festival Brings Stars to North Yorkshire
LNER And TransPennine Express To See Major Service Changes
Disability Friendly Equipment to be Installed in York Village Play Area
Morrisons Are Hosting Free Pensioners' Christmas Lunches In Its Cafés
Some Could Pay Less and Others More for HMO Parking Permits Ahead of Decision
State-Of-The-Art Building Opens in Major New Chapter for School Near York
'We Are Incredibly Excited' - Business Plans New Retail Concept For York Landmark


