A man is behind bars following a traffic stop that led to a deputy-involved shooting in Orange Park early Saturday morning.

Around 1 a.m., a deputy noticed a car with a broken taillight and pulled the driver over. When the car pulled over, a police dog signaled the deputy to search the car.

During the search, the driver, identified as 29-year-old William Gaspard, became angry, the Clay County Sheriff's Office said. As the officer leaned inside the vehicle to help the passenger get out, deputies said Gaspard started moving the car and the car door hit the officer. One of the deputies then fired a single shot at Gaspard, but it didn't hit him, according to the Clay County Sheriff's Facebook page.

Gaspard was arrested and sent to the Clay County Jail. The Sheriff's Office said deputies also found cocaine in the car.

Gaspard was charged with battery on a law enforcement officer, fleeing and eluding, resisting with violence, possession of a controlled substance (cocaine) and possession of drug paraphernalia.