This is an archived article and the information in the article may be outdated. Please look at the time stamp on the story to see when it was last updated.

A federal judge has dismissed adult film star Stormy Daniels’ defamation lawsuit against President Donald Trump.

Daniels sued Trump after he said in a tweet that her story of a man threatening her not to come forward with her story of her alleged affair with Trump was “a total con job.”

Daniels argued Trump’s tweet, posted April 18, “attacks the veracity of her account” of the incident and that Trump’s statement was “false and defamatory, and that the tweet was defamation … because it charged her with committing a serious crime,” District Judge S. James Otero wrote in his opinion Monday.

Trump had asked Otero to dismiss the lawsuit.

“The Court agrees with Mr. Trump’s argument because the tweet in question constitutes ‘rhetorical hyperbole’ normally associated with politics and public discourse in the United States. The First Amendment protects this type of rhetorical statement,” Otero wrote.

Daniels, whose real name is Stephanie Clifford, says she and Trump had an affair in 2006, shortly after he married first lady Melania Trump and she gave birth to their son, Barron. Trump has denied having an affair with Daniels.

Daniels is also suing Trump and his former personal attorney Michael Cohen over the $130,000 payment made to her to keep silent about the alleged affair in the weeks leading up to the 2016 election. The ruling on Monday plays no role in that case, which continues to work its way through the court system.

In addition to dismissing the lawsuit, Otero ruled Trump is entitled to attorney’s fees.

Trump’s attorney Charles J. Harder said in a statement to CNN, “No amount of spin or commentary by Stormy Daniels or her lawyer, Mr. Avenatti, can truthfully characterize today’s ruling in any way other than total victory for President Trump and total defeat for Stormy Daniels.”

“The amount of the award for President Trump’s attorneys’ fees will be determined at a later date,” Harder added.

Daniels’ attorney, Michael Avenatti, responded to the ruling on Twitter and said: “Daniels’ other claims against Trump and Cohen proceed unaffected. Trump’s contrary claims are as deceptive as his claims about the inauguration attendance.”

Avenatti filed a notice of appeal Monday evening in Daniels’ defamation case against Trump.

By Kate Sullivan, CNN