As a Charleston police officer questioned the driver of a car he had pulled over, the passenger jumped into the driver’s seat and sped off, crashing into a police cruiser, according to authorities.

Deontray Bellman, 23, of Huger is charged with reckless driving, resisting arrest, unlawful carrying of a handgun, possession of a stolen handgun and possession with intent to distribute cocaine base.

An officer pulled over a vehicle at 4 a.m. Saturday on Meeting Street, police said. Courtenay Smalls, 22, was driving, police said. When the officer smelled an “overwhelming” odor of marijuana, according to an incident report, he asked Smalls to get out of the car.

As the officer searched Smalls, Bellman, the passenger in the vehicle, jumped into the driver’s seat and sped off, the report stated. After driving about 100 feet, Bellman crashed into a police cruiser, authorities said.

Bellman got out of the car and ran, police said. After a chase and a brief struggle that included the officer shooting Bellman with a stun gun, Bellman was arrested.

Police found cocaine and a handgun in the vehicle, authorities said.

Smalls also was arrested and charged with possession with intent to distribute cocaine base, unlawful carrying of a handgun and possession of a stolen handgun.

Bellman was taken to a hospital to be treated for several small scrapes and to be evaluated, since he had been shot with the stun gun, and then was sent to the Cannon Detention Center.

The officer who was in the cruiser that was hit was taken to a hospital to be evaluated as a precaution, authorities said. He did not have any injuries, police spokesman Charles Francis said.