SUNNYVALE -- The fatal police shooting of a knife-wielding man who stabbed his wife to death before charging at a SWAT team was justified, according to a district attorney's report released Tuesday.

Michael Nehez was shot by three officers as he rushed at them with a large kitchen knife in August 2013. Nehez had called 911 around 8 a.m. and told dispatchers that he had strangled his wife to death.

"I wanna end it all," he said, according to the Santa Clara County District Attorney's Office. "It's got to end sooner or later."

Officers spent two hours trying to communicate with Nehez, 68, before entering his home on San Pedro Avenue. Nehez rushed at them almost immediately, ignoring their commands and holding the 9-inch knife.

He got within six feet of Sunnyvale SWAT officers Jeromy Lima, Silas Mutz and Regan Williams before they opened fire. Nine shots were fired, and all hit Nehez.

According to the report, Williams said, "In my mind, he was gonna try to stab one of us, try to kill us."

Investigators then discovered the man's 55-year-old wife, Marlene Nehez, stabbed to death in the home.

Last fall, investigators concluded that Sunnyvale officers were justified in the 2012 shooting of Jason White, a 36-year-old transient who beat his mother and then charged arriving officers with a ball-peen hammer raised over his head.

In another Sunnyvale officer-involved shooting, Juan Ruelas, 34, was shot numerous times by undercover officers with the Santa Clara Police Department and county Sheriff's Office during a drug sting on Sept. 4. Family members dispute police statements that Ruelas had done a transaction for a large amount of methamphetamine and threatened an officer, and they hired a prominent civil-rights lawyer who called the shooting an "overzealous" act by police.

Contact Eric Kurhi at 408-920-5852. Follow him at Twitter.com/erickurhi.