Stephen Jamieson, 43, admitted being involved in the collection and supply of cocaine, diamorphine (heroin) and class C drug etizolam over a 54-day period in 2020.
He used the proceeds of his offending to travel to and from Dubai and purchase watches and cars – including, he told an associate, spending £146,000 on a Jeep.
The High Court in Glasgow on Thursday heard Jamieson used the encrypted messaging platform EncroChat to conduct his dealings, operating under the username “patrolstaff”.
His offending came to light when the platform, which was “commonly used by those involved in organised crime”, was hacked by law enforcement agencies.
Prosecutor Michael Mcintosh told the court the period of offending began in 2020, with Jamieson offering five million etizolam pills for sale on the platform on March 28.
Further exchanges of messages over the ensuing weeks included discussions of how much he was charging for cocaine and heroin.
One exchange showed him arranging the time and place for the supply of 2kg of heroin, while on “numerous occasions” Jamieson used the platform to make arrangements for the collection of money.
Mr Mcintosh said Jamieson’s interlocutors on EncroChat included men who have since been convicted of drug offences and involvement in organised crime.
The exchanges show Jamieson had a “business relationship” with Jamie Stevenson, who is currently behind bars having admitted directing and being involved in organised crime.
Jamieson could also be seen arranging the collection of cash with Stephen O’Donnell – who since pleaded guilty to possessing criminal property – and discussing a possible buyer of cocaine with John Gurie, who has admitted being concerned in the supply of the class A drug.
It is understood Jamieson was arrested in Dubai on June 20 last year before being released on bail on September 1.
It is understood he was then arrested again on September 16, and that he consented to extradition back to the UK on November 4.
He was arrested upon arriving at Glasgow Airport on December 18.
Sentencing Jamieson, judge Lord Scott told him he had knowingly taken part in a “significant organised criminal operation for a period of 54 days”.
He went on: “Your role was a key operational role (and of) significant financial benefit to you.”
The judge told him that having regard to the “whole circumstances of the case, in particular the gravity of the crime”, a custodial sentence was necessary to serve as a punishment and to “protect the public”.
He sentenced him to six years in prison, backdated to July 5, 2025 to take account of the period already spent in custody, as well as a four-year serious crime prevention order to take effect upon his release.
Lord Scott added the sentence “might appear lenient”, but it would have been a prison term of nine years had Jamieson not pleaded guilty as early as he did.
Jamieson, who attending the sentencing hearing by videolink from prison dressed in a blue sweater, showed no reaction as the punishment was handed down.
