A man suspected of fatally shooting a police officer in northern California earlier this week was captured and taken into custody Friday morning, according to local media reports.

The unnamed suspect, believed to be illegally present in the U.S., was arrested Friday just south of Bakersfield, Calif.

In addition, the Kern County Sheriff's Department suspended its "be on the lookout" alert for the suspect around 8 a.m. local time Friday, according to KGET.

House Majority Leader Kevin McCarthy, a lawmaker from that region of California, celebrated the arrest Friday.

"Thank you Sheriff Youngblood & the entire BPD. California & our country are grateful this monster is off the streets. Cpl. Ronil Singh was the American dream. May he rest in peace and god be with his family," McCarthy wrote on Twitter.



Thank you Sheriff Youngblood & the entire BPD. California & our country are grateful this monster is off the streets. Cpl. Ronil Singh was the American dream. May he rest in peace and god be with his family. https://t.co/9lMsvrZ6N1 — Kevin McCarthy (@GOPLeader) December 28, 2018

Police throughout California have been searching for a man who was pulled over by Newman Police Cpl. Ronil "Ron" Singh around 1 a.m. Wednesday.

Singh pulled the man over because his pick-up truck did not have a license plate.

During the traffic stop, Singh and the suspect both shot at each other. The suspect was able to get away and led police on a two-day search.

Stanislaus County Sheriff Adam Christianson said Singh's K-9 partner was with him during the stop and survived.

Kern County Shreiff Donny Youngblood said law enforcement will brief reporters on the situation at 1 p.m. local time Friday.