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 judge’s decision to dismiss a defamation case by Stormy Daniels against Donald Trump led to a brief midday spectacle of the President of the United States trading Twitter barbs with the porn star – and her lawyer jumping in to call Trump a “disgusting misogynist.”

“‘Federal Judge throws out Stormy Danials lawsuit versus Trump. Trump is entitled to full legal fees.’ @FoxNews 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 wrote on Twitter.

Daniels shot back on Twitter: “Ladies and Gentlemen, may I present your president. In addition to his…umm…shortcomings, he has demonstrated his incompetence, hatred of women and lack of self control on Twitter AGAIN! And perhaps a penchant for bestiality. Game on, Tiny.”

Daniels’ attorney Michael Avenatti, who has floated himself as a potential 2020 Democratic presidential candidate, also weighed in on Twitter, calling Trump a “disgusting misogynist” and “an embarrassment to the United States.”

“Bring everything you have, because we are going to demonstrate to the world what a complete shyster and liar you are. How many other women did you cheat on your wife with while you had a baby at home?” Avenatti continued.

Speaking on CNN’s “The Situation Room with Wolf Blitzer,” Avenatti called Trump’s tweet “a disgrace.”

“Donald Trump is the President of the United States. Never in my lifetime did I think that I would witness behavior like this from the President of the United States,” Avenatti told Blitzer.

Trump’s jab at Daniels is the latest example of him using a woman’s appearance to attack his female critics.

Daniels initially sued Trump over a nondisclosure agreement that she argued was null because Trump never signed the agreement himself. In the midst of the legal debate over the hush agreement, Trump said on Twitter that a story that Daniels recounted where she alleged a man had threatened her and warned her not to go public with her story about an alleged affair with Trump was “a total con job.”

A federal judge dismissed the lawsuit on Monday.

CNN’s Kate Sullivan contributed to this report.