A deputy was justified when he shot and killed a man who fled from deputies, broke into a Valinda house and allegedly grabbed the deputy’s gun nearly two years ago, the Los Angeles County District Attorney’s Office has found.

In a report posted publicly Thursday on the D.A.’s website, the department’s Justice System Integrity Division concluded Los Angeles County Sheriff’s Deputy Brian Richards acted in self-defense and the defense of other deputies when he used deadly force against 25-year-old Baldwin Park resident Johnny Angel Rangel.

Early morning of Oct. 16, 2015, deputies spotted Rangel at Azusa Avenue and Amar Road in the and thought him to be suspicious, according to previous reports. When the deputies attempted to make contact with him, Rangel fled.

He ran through the parking lot of a nearby McDonald’s and ended up at the corner of Ashcomb and Witzman drives where he broke into a house occupied by an elderly couple, their adult son and his ex-wife.

Deputies evacuated the residents from the home, but Rangel refused to exit and attempted to barricade himself in the back bedroom, according to the report, which is dated July 20.

As the deputies forced their way into the bedroom, Rangel allegedly reached for Richards’ gun. Another deputy deployed a Taser as Rangel reached for Richards’ gun a second time, the report said.

Rangel then reached for the firearm a third time and Richards fired the weapon, according to the report.

“When Rangel reached for Richards’ firearm the third time, Richards was forced to make a split-second decision,” the report read. “Given these tense and uncertain circumstances, we find that Richards’ use of deadly force was reasonable.”

Rangel was struck once in the upper torso and was pronounced dead at the scene.

Rangel had been released from county jail the previous year after serving about six months in jail for fighting with police in West Covina while high on methamphetamine, according to Los Angeles County Superior Court and booking records.