CROWLEY — Two Crowley men were arrested late Thursday night after one of them fired at a police officer on North Avenue near West 8th Street, authorities said.

Jarvis Hopkins, 20, is accused of attempted first-degree murder of a police officer after he fired his weapon during a traffic stop shortly before midnight, said Crowley Police Chief K.P. Gibson. The officer returned fire, but neither individual was struck by a bullet.

Hopkins exited the vehicle and fired at the officer as he was pulling Hopkins over for driving with switched license plates, Gibson said. Hopkins’ 18-year-old passenger, Tyler Smith, tried to flee the scene, but the officer apprehended him.

Smith was booked into the Acadia Parish Jail on principal to attempted first-degree murder of a police officer and resisting an officer, Gibson said. Hopkins also was booked into the Acadia Parish Jail on a count of resisting an officer and multiple traffic violations.

Investigators determined Hopkins was driving a vehicle with a switched license plate, a practice common to “drug rental” vehicles, Gibson said.

“We are working additional personnel in light of the recent violence within our community to stop the handful of people who are turning to these violent acts,” Gibson said. “We need our citizens to get involved and report crime and suspicious activity.”