Ohio state legislator Wes Goodman (R) has resigned after admitting he was busted having sex with a man in his office. The married conservative Ohio state lawmaker was known for his anti-LGBTQ stances.

House Speaker Cliff Rosenberger (R) said he spoke to Goodman after learning of the allegations and the now-former representative admitted to having consensual sex with the man in his Riffe Center office.

“I was alerted to details yesterday afternoon regarding his involvement in inappropriate behavior related to his state office,” Rosenberger said in a statement to the Columbus Dispatch. “I met with him later in the day where he acknowledged and confirmed the allegations. It became clear that his resignation was the most appropriate course of action for him, his family, the constituents of the 87th House District and this institution.”

Goodman resigned after the meeting citing “inappropriate conduct.” No charges of sexual harassment will be brought since the sex was consensual and the man was not a staffer or legislator.

“We all bring our own struggles and our own trials into public life. That has been true for me, and I sincerely regret that my actions and choices have kept me from serving my constituents and our state in a way that reflects the best ideals of public service,” he said in a statement. “For those whom I have let down, I’m sorry. As I move onto the next chapter of my life, I sincerely ask for privacy for myself, my family, and my friends.”

On Twitter, Goodman described himself as “Christian. American. Conservative. Republican.”

Several GOP insiders have intimated that there is video of the encounter filmed inside Goodman’s office, but the speaker’s spokesperson denied that allegation.