by Sarah Fitzpatrick, Linda Givetash and Kurt Chirbas

Lawyer Michael Avenatti says the porn star was detained by undercover officers after a customer touched her in a non-sexual manner during a performance.

Adult film star Stormy Daniels, who claims she had an affair with Donald Trump and is suing the president, was arrested during a performance at an Ohio strip club, her lawyer said early Thursday.

Michael Avenatti told NBC News that Daniels, whose real name is Stephanie Clifford, was touched in a non-sexual manner while on stage.

An Ohio law known as the Community Defense Act prohibits anyone who isn’t a family member to touch a nude or semi-nude dancer.

The Franklin County Sheriff’s Office later confirmed that Daniels had been charged with three misdemeanor sex offenses.

The porn star is due to appear in court on Friday.

Sirens Gentlemen’s Club confirmed that Daniels had performed at the Columbus venue on Wednesday night.

Avenatti said that undercover vice officers arrested Daniels after she was touched by the customer.

“We are confident she will be cleared of all charges,” Avenatti said.

He added that Daniels intended to plead not guilty.

NBC News reported in April that Daniels is cooperating with federal investigators as part of their criminal investigation into President Donald Trump’s personal attorney, Michael Cohen.

Daniels has said she had sex with Trump in 2006 and that Cohen paid her $130,000 to keep the encounter secret shortly before the presidential election.

Cohen has said he made the payment. In May, Trump said Daniels was paid to stop “false and extortionist accusations” she made about a sexual encounter with him. Trump has forcefully denied the affair.