The manhunt for a third suspect in the shooting of an Oklahoma police officer ended Friday with the person’s capture.

Police caught Alejandro Garcia shortly just past 7 a.m. in Liberty, Kansas, after several car chases, Fox23 reported.

Earlier, Cesar Rios, 23, and Roxanna Mendoza 20, were taken into custody after Oologah police officer Charles Neil was shot in the head during a traffic pursuit late Thursday, police said.

South Coffeyville Police Chief Wade Lamb told the Tulsa World that the incident began when a Talala officer tried to stop an SUV in Rogers County, Oklahoma, but the vehicle sped away. The SUV occupied by Garcia and the other two people made a break for Kansas, Lamb said.

As the three drove north toward the Oklahoma-Kansas border, someone fired shots from the vehicle at Neil’ police car. Neil was assisting the Talala officer in the chase. Neil was struck in the head, Oklahoma Highway Patrol Trooper Dwight Durant said.

The cruiser crashed into a ditch, Durant said. The officer was airlifted to a Tulsa hospital. Neil was alert and talking, Fox23 said. 

Authorities said Rios and Mendoza were apprehended when police used stop sticks to blow the SUV’s tires in South Coffeyville, near the Kansas border. 

Fox 23 said an AR-15 and body armor were recovered from the vehicle.

Garcia fled on foot, carjacked another car and shot the driver before pulling away, Lamb said. That victim, an elderly man was shot in the neck. He was expected to be okay, the station said.

The Associated Press contributed to this report.