Chris Leben seems to have taken a plea deal.

The UFC veteran pleaded guilty Monday to three criminal charges, including a felony charge of possession of an assault weapon in San Diego district court, NBC San Diego reported. The two misdemeanor charges were vandalism and violation of a temporary restraining order.

Leben, who retired from the UFC in 2013, was accused of scaling a wall and entering his estranged wife's apartment, one in which he used to live, in June. An assault weapon was later found in a maintenance closet a few floors away from the apartment that belonged to Leben, according to a police report.

Prosecutors told NBC San Diego that Leben is expected to get probation at his Aug. 31 sentencing.

Leben did not respond to a request for comment Tuesday afternoon.

Leben's wife, Kaleena, wrote in a request for the restraining order that she awoke around 3 a.m. on June 8 to the sound of someone banging and kicking at her door, according to NBC. Ninety minutes later, she wrote she saw Leben scaling the outside wall and then fled on foot to a neighbor's home.

Immediately after the incident, a .45-caliber hangun was found on Kaleena's bed, according to a San Diego Police Department report, per NBC.

A day before the incident, Kaleena said Leben threatened to murder her father in a text message, she wrote in the restraining order.

Leben told MMAFighting.com last week that he had not been the perpetrator of any domestic violence, despite online reports. Leben accused Kaleena of abusing him and causing him emotional anguish. The two had been together for nine years.

"When it's 2 a.m. and my wife decides to attack me and I have to run barefoot out of the house and find somewhere to sleep, it's tough," Leben said. "And I put up with that for years."

In the restraining order, Kaleena alleges that Leben was violent with her on multiple occasions, including one in 2011 when she describes being rushed to the hospital for staples in her head after Leben allegedly pushed her into a wall.

Leben said everything in the restraining order is a lie.

"When it comes to my character, that's the one thing I hold dear," Leben told MMA Fighting. "I'm an outlaw with ethics. You know what I'm saying? There's honor among thieves. There's certain laws I don't f*cking believe in and there [are] others I believe in. There's a certain way I live my life and one thing I would never do is beat or hurt a woman ever. And any man that ever does that is a f*cking piece of sh*t and deserves to get shot in the head. I've never done anything like that."