Follow CBSPHILLY Facebook  | Twitter

DELAWARE COUNTY, Pa. (CBS) — Police in Delaware County have arrested a man who shot himself while allegedly fleeing a traffic stop Saturday afternoon.

Bucks County Man Charged With Murder After Girlfriend Found In Trunk: Police

The suspect is 20-year-old Keon Williams of Chester City.

Upland Borough Police say Williams took off on foot after officers smelled marijuana coming from his car.

They caught up with him a few blocks away.

Police say the gun Williams was carrying went off when he tried to grab it, striking him in the hip.

The suspect was taken to a local hospital for treatment.

19 Injured After Tractor-Trailer Hits Bus On Pennsylvania Turnpike

“Once this foot pursuit ensues, the female passenger actually took the vehicle from the scene, the originally scene, the stop and we did locate the vehicle, we have not located the female at this point, we do have her identification,” said Chief Michael Irey.

Williams is behind bars awaiting arraignment on weapons and drug possession charges.