“Glee” fans know Mark Salling as bad boy Noah Puckerman, but the actor recently found himself in some unscripted trouble. Roxanne Gorzela, a former Playboy model, brought Salling to court on sexual battery charges in January 2013. While she has since dropped the allegations, Salling has reportedly agreed to a $2.7 million payout in the settlement. However, he will also reportedly receive some of that money, according to TMZ.

The model claimed that she consented to have sex with Salling, now 32, in 2011, but that he forced her to have sex without a condom. Due to concerns about sexually transmitted diseases, she went back to Salling’s apartment where they allegedly fought, and Salling “threw her to the ground, severely injuring her knees,” TMZ reports.

At the time the lawsuit was filed, Salling’s publicist Janice Lee denied any wrongdoing. “There is no truth to this,” she said, according to Us Weekly. “It's the textbook case of a disgruntled girl looking to cash in on a TV star's success.”

Salling filed a cross complaint in April 2013, accusing Gorzela of trespassing, assault and battery, E! Online reports. He claimed that she actually broke into his home and attacked him, so he had to defend himself.

However, it seems that Gorzela won her case. She dropped her sexual battery claim, and Salling admitted to “negligently causing her to fall and injure herself,” TMZ states.

Salling agreed to her damages, which totaled up to $2,710,155. However, Salling won’t pay her that money. The agreement reportedly established that Gorzela could only go after Salling’s insurance company, State Farm, for the sum. She also allegedly agreed that Salling will get a portion of that settlement money. State Farm already rejected the claim, according to TMZ’s sources, but Salling “believes State Farm owes him something for rejecting his initial claim in bad faith.”

While this is an odd settlement arrangement, Salling’s former “Glee” co-stars might not be so surprised by his legal trouble. During an interview on “The Ellen DeGeneres Show" earlier this month, cast members were asked who was most likely to be arrested, and Lea Michele, Chris Colfer and Jenna Ushkowitz all answered with Salling’s name.