20 year old Lewis Jamieson, from Laidler Crescent in Princes Risborough, was stopped on Fleet Street in Aylesbury in February this year.
He was with another man, Khyree Cato, aged 22 of Wyatt Close, High Wycombe.
Both were sentenced to a total of three years and four months’ imprisonment at Aylesbury Crown Court on Thursday (29/4).
They each pleaded guilty at the same hearing to one count of possession with intent to supply crack cocaine and one count of possession with intent to supply heroin.
Officers stopped a vehicle being driven by Cato. Jamieson was also in the car.
Both offenders were arrested, and later £3,560 worth of drugs were found in their possession.
Investigating officer, PC Gary Ratcliffe, based at Aylesbury police station, said: “Anyone involved in drug offences and organised crime within Aylesbury Vale will be targeted by us and can expect to be brought to justice.
“Our Stronghold campaign is focussed on fighting organised crime in partnership. We will continue to target this type of offender, and I am pleased that Jamieson and Cato will now be facing a significant period in prison.”