FALMOUTH — A 20-year-old Buzzards Bay man pleaded not guilty Thursday in Falmouth District Court to drug distribution charges.

Hayden Harding was arraigned on one count of distributing a class A substance, subsequent offense, and one count of distributing a class E substance, according to court documents. He is being held on $10,000 bail, an amount based on his record of convictions and the nature and circumstances of the offenses, the documents say.

Shortly after noon on Wednesday a Mashpee police officer saw a gray Nissan Sentra pass by him on Route 151, according to a police report. The officer observed the driver “look towards my vehicle before quickly leaning back” in an apparent attempt to avoid detection, the report says.

The officer followed the vehicle down Algonquin Avenue, observing it accelerate and brake abruptly to avoid hitting other vehicles, the report says.

The officer stopped the vehicle, which contained three occupants, including Hayden, whom the officer knew was on probation for prior drug offenses, the report says. Hayden jumped from the car and ran toward the woods, but the officer, with help from another officer who had just arrived, pursued him and tackled him from behind, police said.

Police found a bag of green pills and a bag of yellow pills, believed to be Xanax; two bags of what was presumed to be heroin; a bag of less than one ounce of marijuana; and roughly $864 on him, the report says.

Hayden was arrested and the two other people in the vehicle — Tara Nightingale and Paul Rodrigues — were detained; Nightingale was charged with possessing cocaine and Rodrigues was released, the report says.

Hayden is scheduled to return to court Dec. 13 for a pretrial hearing.