Ken Kratz, who has risen to national prominence after being featured in Netflix's Making a Murderer, recently admitted that he considered suicide at one point.

Kratz was the prosecutor in the Steven Avery case that was the center of Making a Murderer and while the verdict wound up being in Kratz's favor, it was hardly a positive experience for him.

The prosecutor appeared on Dr. Drew's podcast recently where he described why he was nearly driven to suicide.

"With the pressures I was under after the Avery case, this all began, I would suspect, as a result of the Avery case. It was a case that I was very much in the public eye, very much in the limelight for 18 straight months we were on the front page and really in a very, very high-profile case. And then it all stopped," Kratz explained.

In 2010, Kratz was discovered to have sent sexually explicit texts to the ex-girlfriend of a man he was prosecuting at the time. He had to step down from his post as the Calumet County prosecutor and had his law license suspended for four months.

"After this whole thing kind of blew up I became suicidal," Kratz said. "I actually put a gun in my mouth and was really, really having a hard time with having kind of gone from very well-respected and obviously very into my job to really vilified within maybe a 48- or 72-hour period."

Kratz is being vilified even further these days after the release of Making a Murderer. The prosecutor is shown in a very negative light in the docuseries, especially in comparison to defense attorneys Dean Strang and Jerome Buting. In a January interview with Nancy Grace, Kratz spoke about receiving numerous death threats he's been getting since the show's release in December.

Making a Murderer remains available to stream on Netflix.