Neighbourhood officers were on patrol in the Oxmoor area of Huntingdon on 17 March 2022 when they spotted a suspected drug deal take place.
Following further investigation, officers arrested Tyler Atkins-Jenner and his prints matched the DNA on the drugs.
Further cannabis and mobile phones linking Atkins-Jenner to drug dealing were then discovered at his home in Graveley Road, Offord D’Arcy.
At Peterborough Crown Court on 19 July, Atkins-Jenner, 25, was sentenced to two years and four months in prison after pleading guilty to being concerned in the supply of crack cocaine and cannabis.
Green, 38, of California Road, Huntingdon was sentenced to seven months in prison, suspended for 18 months, after pleading guilty to being concerned in the supply of cannabis.