A Baton Rouge man remained in custody Wednesday after allegedly dragging a police officer trapped in his car door across an Airline Highway parking lot Tuesday, police said.

Two officers were patrolling when they saw Elijah Dixon, who appeared to be rolling a marijuana joint, inside a vehicle outside the Raceway station in the 7100 block of Airline, police said.

When police confronted Dixon inside the parked vehicle, he cursed at them and turned on engine, according to an affidavit of probable cause.

At that point, both officers reached inside the vehicle, the affidavit says. One officer tried to remove Dixon from the vehicle, and the other tried to turn it off, the affidavit says.

Dixon then put the vehicle in reverse and accelerated, causing a door to strike one officer and knock him away from the vehicle, the affidavit says.

The other officer, however, was pinned inside the vehicle because his belt got stuck on the vehicle’s window frame, the affidavit says.

With the officer still trapped in the door, Dixon yelled, “I’m going to kill you if you don’t get out my car,” the affidavit says.

While in reverse, Dixon crashed into another parked vehicle at the gas station, and bailed out of his moving vehicle with the officer still trapped, the affidavit says.

The vehicle hit a curb prior to entering Airline Highway, which freed the officer and knocked him to the ground, the affidavit says.

“Officer got minor injuries, might have a dislocated elbow,” police spokesman Cpl. L’Jean McKneely said of the once-trapped officer.

Police caught Dixon about three blocks away from the gas station following a brief chase, the affidavit says.

Dixon, 18, 2455 Weldwood Drive, Apt. 9107, Baton Rouge, was booked into East Baton Rouge Parish Prison on counts of attempted first-degree murder of a police officer, aggravated criminal damage to property, possession of marijuana and resisting a police officer with violence, the affidavit says.