A man is under arrest and a second suspect is being sought after a rifle was fired at two Los Angeles officers in a patrol car, media reports said Monday.

Nobody was injured in the attack, which comes just weeks after two New York police officers were shot and killed in an ambush in Brooklyn. That attack came after nationwide protests against police tactics following the deaths of a number of unarmed African-American men.