BOYLE HEIGHTS (CBSLA) — New video released by the Los Angeles Police Department shows the frantic moments when a routine patrol turned into a violent confrontation for a pair of officers.

According to LAPD, two uniformed officers with the Hollenbeck Division’s gang enforcement detail were on patrol at about 7:10 p.m. Nov. 29 near Malabar Street and Fickett Street at about 7:10 p.m.

READ MORE: Disney Cruises To Require COVID Vaccines For Children 5 And Older

While on patrol, the pair attempted to make contact with a man identified as Nathan Alexander Tovar, who was on probation for narcotics violations, when he opened fire.

One officer was struck and taken to the hospital where he was expected to recover.

READ MORE: Traffic Nightmare? SoFi, The Forum Both Hosting Events Wednesday Night

The officers returned fire, but did not strike Tovar who was taken into custody.

Police said a 9mm semi-automatic handgun was recovered at the scene.

MORE NEWS: Driver Tries To Run Over Beverly Hills Officer, Sparking Pursuit; One Arrested

Tovar has been charged with attempted murder of a police officer.