But Adam Roberts, 19, was caught driving while disqualified within months.
He was recalled to custody and has now received a 12 week sentence – to be served concurrently.
At North East Wales Magistrates’ Court at Mold he was banned from driving for 20 months with a £122 surcharge.
The court head that he was one of 10 people sentenced at Mold Crown Court back in December 2018 for drugs offences.
But he was released on tag in April.
In October of last year Roberts, whose address was given at HMP Altcourse in Liverpool, was seen driving an Audi in Acrefair near Wrexham,
Defending solicitor Stephen Edwards said that his client had been open and honest.
He had bought the car cheaply and intended to sell it for a small profit after carrying out renovations.
The defendant had since been recalled and accepted that it had to be custody.