Win McNamee/Ethan Miller//Getty Images
Now playing
01:39
Trump taunts Stormy Daniels over tossed lawsuit
CNN
Now playing
01:14
Stormy Daniels recaps airport run-in with Cohen
Getty Images
Now playing
02:25
Stormy Daniels shares details of alleged affair
Stormy Daniels' attorney Michael Avenatti 9.18.
CNN
Stormy Daniels' attorney Michael Avenatti 9.18.
Now playing
01:37
Avenatti: Book shows Daniels is telling the truth
Stormy Daniels and Karen McDougal
Getty Images
Stormy Daniels and Karen McDougal
Now playing
02:22
Trump's evolving story on payments to women
Michael Cohen and Stormy Daniels
Getty Images
Michael Cohen and Stormy Daniels
Now playing
02:31
Stormy Daniels suing ex-lawyer, Cohen
CNN
Now playing
01:07
Conway says she believes Trump didn't have affair
Now playing
01:38
Avenatti: I should have chance to depose Trump
Fox News/"Justice with Judge Jeanine"
Now playing
02:20
Giuliani says he's not an expert on facts yet
CNN
Now playing
02:08
Conway explains Trump's Stormy Daniels answers
Kellyanne Conway SOTU 5.6
CNN
Kellyanne Conway SOTU 5.6
Now playing
00:47
Conway: I know of no other payments
Michael Avenatti NewDay 05032018
CNN
Michael Avenatti NewDay 05032018
Now playing
02:22
Lawyer: Cohen reimbursement may involve money laundering
Now playing
02:32
Toobin: Trump team lying about Stormy hush money
Stormy Daniels lawyer Michael Avenatti
CNN
Stormy Daniels lawyer Michael Avenatti
Now playing
02:17
Stormy Daniels' lawyer: I'm disgusted
Stormy Daniels attorney Avenatti
CNN
Stormy Daniels attorney Avenatti
Now playing
01:44
Stormy lawyer: Trump won't serve out his term
(CNN) —  

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.

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

Trump welcomed the ruling on Tuesday morning, using a derogatory term to describe Daniels’ appearance.

“Great, now I can go after Horseface and her 3rd rate lawyer in the Great State of Texas. She will confirm the letter she signed! She knows nothing about me, a total con!” Trump tweeted.

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, whose real name is Stephanie Clifford, says she and Trump had an affair in 2006, 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.

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.