Benjamin Hodge, of Victoria Close in Gainsborough, admitted to three drug offences, two counts of possession of criminal property and ten driving offences at a previous hearing.
The 27-year-old was arrested as part of an investigation by The East Bassetlaw Safer Neighbourhood Team who had received complaints of drug dealing from residents.
He was convicted of possession with intent to supply heroin and cocaine possession of cannabis, possession of a controlled Class C drug along with dangerous driving, four counts of driving whilst disqualified, four counts of driving without insurance, two counts of taking a vehicle without consent and two counts of possession of criminal property and sentenced at Nottingham Crown Court at the end of April.
Neighbourhood Sergeant Sam Pearson said: "We've been working hard in the Retford area to investigate drug dealing following the concerns raised from our residents. We've gathered lots of intelligence and evidence and have been undertaking covert action to catch anyone involved in this activity completely unawares. We continue to step up this activity and welcome any information from members of the public. Drug use preys on the most vulnerable in our society and will simply won't tolerate this behaviour."
Call 101 when you need to contact Nottinghamshire Police, for emergencies call 999 call.