Cops do not have a duty to protect others from harm.
The courts have said that, but the DA says otherwise. If a violent attack occurs and the perpetrator is in any danger the police will be there to protect the perp. And the DA will prosecute the person who endangered the perp. They call it 'racial justice'.
Then they need to remove “to protect and serve” from their patrol cars for false advertising