Durham Regional Police responded to a disturbance near the Pickering Parkway on Monday morning, where two people had been arguing near a parked car.
When officers approached the scene, one man dropped some things from his pockets and started running.
Officers pursued the man as he scaled a fence and then found himself without an escape route, at which point police allege "he turned on the officers."
A stun gun was engaged and the man was arrested.
Police say they found 26 grams of crack cocaine in the area where the man discarded items on the street. Police also found weigh scales and a grinder in the parked car.
A 24-year-old Toronto man has been charged with possession of cocaine for the purpose of trafficking.
The investigation continues. Anyone with information is asked to contact police at 1-888-579-1520, ext. 2521. Information can also be passed on through Crime Stoppers at 1-800-222-8477.