MANTECA (CBS13) — The city of Manteca released body camera footage Friday, showing a police officer fatally shooting a man armed with a knife.

The incident happened in February of 2017 when police were called to Highway 99 after a man was spotted waving a knife. Officers closed down the highway and tried to talk with the man.

READ MORE: Ford Advising 39,000 Expedition And Navigator Owners To Park Outside Due To Fire Risk

The video shows the man arguing with another person and an officer asks that person to back away.

One officer hit the man with a stun gun. He then runs toward another officer, still holding the knife and that officer opened fire.

READ MORE: Structure Fire Spreads To Vegetation In Tahoe National Forest Near Camptonville

RELATED: DA: Stockton Officer Justified In Using Lethal Force To Stop Carjacking Suspect

The man was shot three times and died a week later.

Last month, the San Joaquin County District Attorney decided the officer was justified in the shooting.

MORE NEWS: Body Of John Doe Found 38 Years Ago In Solano County Identified As Sacramento Resident Norman Creech

According to a statement from the city, prosecutors found the actions of the officer were within reason, based on the circumstances and actions of the man.