A police officer shot and wounded an armed man during a weekend traffic stop in Southern California, authorities said.

The 20-year-old motorist was pulled over around 7 p.m. Friday in Santa Ana, the city's police department said in a statement.

"During the traffic stop, officers encountered a subject armed with a handgun and an officer-involved shooting occurred," the statement said.

THREE PEOPLE FOUND SHOT DEAD IN ORLANDO HOME EASTER MORNING, SUSPECT KILLED BY POLICE

Fox News California graphic

A 20-year-old armed motorist was pulled over in Santa Ana, California. An officer-involved shooting occurred at the traffic stop. (Fox News)

The driver was shot in his lower and upper torso, officials said. It wasn't clear whether he had reached for a weapon or fired at officers.

A gun was recovered from the vehicle but police didn't immediately say if it belonged to the driver or his 30-year-old male passenger.

CLICK HERE TO GET THE FOX NEWS APP

The passenger was arrested on suspicion of weapons violations, the Orange County Register reported Saturday.

Neither the passenger nor the officers were injured, according to the statement.

The investigation was ongoing.