The Los Angeles Police Department (LAPD) released a video from a dramatic police shootout last month that shows a bystander suddenly opening fire on police.

According to ABC News, the incident in question—which occurred on the night of April 20—involved two LAPD Gang Enforcement officers involved first in a vehicle pursuit and then a foot pursuit.

Surveillance video from an apartment complex into which the suspect fled shows officers were approached by another man—identified as Curley Duff—who suddenly opened fire on them. One officer was struck, and at least one officer discharged his service weapon, wounding the gunman.

On April 24, prosecutors charged Duff with the attempted murder of a police officer.