OCEANA COUNTY, MI - A woman's ex-husband has pleaded guilty to hacking into her Facebook account where the prosecutor said he humiliated her by posting an explicit photo of her and characterizing her as a "woman of ill repute."

Travis Allen Quist, 46, pleaded guilty Monday to unauthorized access of a computer system, which is a four-year felony, said Oceana County Prosecutor Joseph Bizon. In exchange, the prosecutor dropped charges of carrying a concealed weapon and intentional dissemination of sexually-explicit visual material.

Quist hacked into his estranged wife's Facebook page and changed her name, occupation and other personal information, Bizon said.

"He basically was calling her a whore," Bizon said.

The prosecutor alleged that Quist also disseminated via Facebook a topless photo of his ex-wife, a case of what used to be called "revenge porn," but now is termed "nonconsensual pornography." That's a 93-day misdemeanor. Bizon said he was willing to drop the misdemeanor in order to get Quist to plead to the more serious felony.

In addition, Bizon dropped what he called a "technical violation" of the carrying a concealed weapon law. He alleged that Quist's concealed pistol license had lapsed when he went to his ex-wife's Walkerville home with the handgun in his car.

Because Quist does not have a prior criminal record, state sentencing guidelines for him max out at six months in jail. As part of the plea agreement, the prosecutor said he would agree to capping his sentence at three months.

"This was an invasive and offensive intrusion into her privacy," Bizon said, calling the case one of "cyberbullying."

"It was beyond calling her a bad name. It was horrible. I found what he wrote offensive, and it was demeaning to this woman."