Wandile Mirazi, 24, was a passenger in a Volkswagen Golf seen by police being driven erratically along Elizabeth Way, Cambridge on Sunday 30th June.
Officers watched as it made a U-turn and was driven at excessively slow speed behind the police car.
As it overtook the police vehicle, officers signalled for it to stop but the driver continued for some time before stopping at the junction with Hawthorn Way.
As the car pulled over and officers got out of their car, Mirazi got out and ran off along Hawthorn Way.
An officer in pursuit witnessed him throw two bags over the fence of a garden.
The chase continued and Mirazi was detained and arrested in Chestnut Grove.
A subsequent search of the garden uncovered two bags of class A drugs, which were later confirmed as heroin and cocaine.
While in custody, Mirazi was searched and found in possession of another bag of cocaine and £340 in cash.
Mirazi, of Canary Wharf, London, pleaded guilty to possession with intent to supply class A drugs and was sentenced to three years and four months imprisonment at Cambridge Crown Court.