MADISON, Wis. — Dane County District Attorney Ismael Ozanne announced Thursday that Madison police officer Kiel Baitinger-Peterson will not face criminal charges in the July 22 fatal shooting of Corey Ruiz, 38.

Ozanne said Ruiz resisted officers, produced a knife and was unaffected by multiple Taser attempts before Baitinger-Peterson shot him. Under those circumstances, it was "reasonable for the officer to use deadly force," and there was no "potential criminal court liability," the district attorney concluded.

Baitinger-Peterson fired three times and struck Ruiz twice at the intersection of Williamson and Baldwin streets on Madison's near east side, where four officers were attempting to arrest him after he fled, according to the district attorney's office. Police said Ruiz was a suspect in an attempted burglary and had been trying to get into parked vehicles.

The shooting was investigated by the Wisconsin Department of Justice's Division of Criminal Investigation, which released a nearly 1,800-page investigative file Thursday, including dash-camera video. In the video, officers repeatedly yell, "He's got a knife! He's got a knife!" The weapon is visible in Ruiz's right hand, the blade pointed downward, as a fourth officer deploys a Taser. Ruiz stumbles and falls onto his right side before Baitinger-Peterson fires three shots at close range. Baitinger-Peterson told investigators he had grabbed Ruiz's right arm and realized he was holding a knife, feared Ruiz would stab the officers, and fired a third time because Ruiz's expression and body did not change after the first two shots, leading him to believe they had not struck him. Ozanne said he reviewed police reports, diagrams, surveillance video, police squad car video and citizen video before deciding. Madison police officers do not wear body cameras.

Ruiz's family, represented by civil rights attorney Ben Crump, condemned the decision. Crump said there was nothing in the videos the district attorney showed the family to justify the shooting, and said he is exploring other legal avenues, including a civil rights lawsuit. The medical examiner told the family that if the officer had not fired the shot to Ruiz's head, he would have survived, Crump said. Ruiz's brother, Adam Ruiz, told reporters the prosecutor had "mistreated" the family. Madison Mayor Satya Rhodes-Conway also criticized the decision.

Baitinger-Peterson and the three other officers who interacted with Ruiz that day have been on paid administrative leave since the shooting. Madison Police Chief John Patterson said the department will now conduct an internal use-of-force review by an outside expert, along with a sentinel review of the department's handling of the shooting. The officers will remain on administrative leave during the review, and the reviews will likely not be released until next year.

After the decision, a vigil formed at the intersection of Williamson and Baldwin streets around 3 p.m., about 1 1/2 hours after the district attorney's announcement, according to the Milwaukee Journal Sentinel. Just before 8 p.m., about 200 vigil attendees started marching to the Wisconsin State Capitol building on East Main Street. One person at the vigil held a sign that said, "No justice, no peace, no racist police," CNN reported. Anna Purnell, a member of the Forward Marching Band, told the Journal Sentinel the gathering "wasn't a celebration, but instead a funeral for Ruiz." Madison police said at a press conference after the decision that an encampment like the one that formed after Ruiz's death in July would not be tolerated this time; as of 8 p.m., there were no signs of an encampment forming. Wisconsin Gov.-elect David Crowley called for any protests to remain peaceful, while calling Ruiz's killing "deeply troubling." City leaders braced for more protests after the decision.

Ozanne also said toxicology findings showed Ruiz had meth, cocaine and cannabis in his system at the time of the shooting.