This article is more than
4 year oldVideo of the incident shows a figure approach the officers' vehicle, before opening fire and running away.
Los Angeles Sheriff Alex Villanueva called the act "cowardly". The suspect remains at large.
Almost 40 US police officers were killed in the line of duty in 2020, FBI statistics show eight of them the victims of an ambush.
Protesters shouted anti-police slogans and blocked the entrance to the emergency room where the two officers are being treated, police and witnesses said.
The officers involved have not been named, but have been described as a 31-year-old woman and a 24-year-old man.
"One male deputy and one female deputy were ambushed as they sat in their patrol vehicle. Both sustained multiple gunshot wounds and are in critical condition. They are both currently undergoing surgery. The suspect is still at large," LA County Sheriffs tweeted.
Moments ago, 2 of our Sheriff Deputies were shot in Compton and were transported to a local hospital. They are both still fighting for their lives, so please keep them in your thoughts and prayers. We will update this thread with information as it becomes available.
— LA County Sheriffs (@LASDHQ) September 13, 2020
"This is just a sombre reminder that this is a dangerous job. Actions, words have consequences and our job does not get easier because people don't like law enforcement," Sheriff Villanueva said.
Sharing the footage of the incident, US President Donald Trump, tweeted: "Animals that must be hit hard."
He has made law and order a central part of his bid for re-election.
Responding to the attack, Democratic Californian congressman Adam Schiff said he was praying for the two officers.
"Every day, law enforcement officers put themselves at risk to protect our community," he tweeted. "I hope the perpetrator of this cowardly attack can be quickly brought to justice."
Newer articles
<p>The deployment of Kim Jong-un’s troops has added fuel to the growing fire in recent weeks. Now there are claims Vladimir Putin has put them to use.</p>