Los Angeles police on Monday released a video of a gang member shooting a female officer at point-blank range during a July traffic stop in the San Fernando Valley and her partner subsequently fatally wounding the gunman.

Recordings from inside a police cruiser and the officers’ body cameras captured what seems to begin as a routine traffic stop that suddenly explodes into violence as the gunman pulls a .380-caliber handgun from his side and shoots the female officer who is standing just inches away.