At about 9:50 a.m. Tuesday, an Oakland Housing Authority police officer responded to a report of a suspicious vehicle parked at 2529 Ninth Ave., Oakland police spokesman Jeff Thomason said.
The officer approached the driver, Raymond Marshall, and detained him for questioning then attempted to handcuff him.
Marshall allegedly resisted, started the car and drove at the officer, police said.
Another officer arrived and saw the first officer pinned by Marshall's car, Thomason said. The second officer fired two shots at Marshall just as he began to accelerate toward the officer in reverse, police said.
The officer who was struck was hospitalized with lower limb injuries and was later released.
Marshall suffered a gunshot wound that was not expected to be life-threatening, and was also taken to a hospital, police said.
He was later released from the hospital and arrested for attempted murder of a police officer, vehicle theft and possession of stolen property.
Both officers involved will be placed on paid administrative leave, according to the Oakland Housing Authority.
Anyone with information about the incident is encouraged to contact the Oakland Police Department's homicide section at (510) 238-3821.