A North Charleston man accused of throwing a gun and drugs out his car window while fleeing from police was sentenced to 20 years in prison Friday.

Sean Doctor, 30, was sentenced for possession with intent to distribute cocaine and crack cocaine, possession of a weapon by a convicted felon and possession of a weapon in furtherance of a drug trafficking crime, according to the U.S. Attorney's Office.

He had a prior record of several drug convictions.

U.S. District Judge Weston Houck imposed the sentence in federal court in Charleston. The prison term is to be followed by eight years of supervised release.

On April 11, 2012, North Charleston police tried to stop Doctor's car. He led them on a chase before stopping in Goose Creek, where he was arrested. During the chase, Doctor threw a loaded 9 mm handgun and a bag containing about 9.5 ounces of cocaine and 4.8 ounces of crack cocaine from his vehicle, according to prosecutors.

The Drug Enforcement Administration and North Charleston police investigated. Assistant U.S. Attorney Nick Bianchi of the Charleston office prosecuted the case.

Reach Dave Munday at 937-5553.