NORTH HILLS (CBSLA) — The Los Angeles Police Department released video Monday of an officer-involved shooting that left the suspect dead and one officer wounded in the leg.

The shooting happened during a traffic stop in North Hills at about 10:15 p.m. on July 27. The video shows the officer speaking congenially to the suspect, 32-year-old Richard Mendoza.

READ MORE: Man In His Mid 30s Fatally Shot In Carson

Mendoza appears to be following the unidentified female officer’s directions when she tells him to step out of the car. Instead, video shows he pulled a gun out of his waistband or pocket and shot her in the leg, then turned to shoot at her partner over the car.

Mendoza was shot in the head and the torso. He died at a hospital.

READ MORE: 2 Riverside Co. Sheriff's Deputies Recovering After Being Hit By Delivery Van; 2 Pedestrians Killed

According to police, Mendoza was a gang member and had previous convictions on drug and gun charges.

The officer was treated for a gunshot wound to the leg.

MORE NEWS: Due To Wind Concerns, Disneyland Vaccine Site To Be Closed Sunday

The shooting remains under investigation, according to the LAPD.