Avenatti has rocketed to popularity as an attorney for Stephanie Clifford, the adult film star known as Stormy Daniels, and has billed himself as a thorn in the side of the Trumps.
In his ruling, Judge S James Otero said Mr Trump's tweet was protected by freedom of speech.
She alleged a man approached her in a Las Vegas vehicle park in 2011 and threatened her after she agreed to talk about her experience with Trump in an interview.
President Trump celebrated the dismissal of a defamation suit brought against him by adult-film actress Stormy Daniels, calling Daniels "Horseface" on Tuesday and vowing to retaliate against her and her attorney.
Air India flight with 136 on board hits airport wall (PHOTOS, VIDEOS)
Air India said in a statement shared on social media that both the captain and co-pilot have been grounded, pending investigation. Air India Express sources told DC that all the Dubai-bound passengers were sent to their destination by an alternative aircraft.
"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", Judge Otero wrote.
"Federal Judge throws out Stormy Danials lawsuit versus Trump", the president tweeted.
He said: "A sketch years later about a nonexistent man".
Charles Harder, one of Trump's attorneys, praised Otero's decision, saying that the amount of legal fees owed would be announced at a later date.
Huawei’s latest Porsche Design collab is a fancy Mate 20 Pro
Huawei claims the tech helps in charging the battery to 25 percent in just 10 minutes, and 80 percent in just 30 minutes. The phone also comes with a "Nano-Memory Card", which occupies the space of a nanoSIM card, with a capacity up to 256GB.
"Mr. Trump's tweet displays an incredulous tone, suggesting that the content of his tweet was not meant to be understood as a literal statement about the plaintiff", the ruling states.
Trump, who has claimed "nobody has more respect for women" than he does, has repeatedly mocked women's appearances.
'I noticed him because he was sort of well-dressed and nothing about him alarmed me, ' she said in her first live television interview since the hush money payment given to Daniels by President Trump's lawyer Michael Cohen was unveiled.
The unconscionable and probably legally problematic tweet by Trump are a reminder of remarks that the ex-reality front man has made in the past against women such as "slob" Rosie O'Donnell, ex-candidate Carly Fiorina, Morning Joe co-host Mika Brzezinski and now NBC morning host Megyn Kelly.
Mike Pompeo to arrive in Saudi to meet King Salman
King Salman ordered the public prosecutor to open an internal investigation into the Khashoggi case, a Saudi official said. Trump has repeatedly said he does not want to risk what he claims is $110 billion in arms sales to the Saudis.
He branded the ruling "limited" and said it will not affect her primary case against Trump and his former attorney Michael Cohen, which seeks to invalidate her 2016 nondisclosure agreement. Trump must have written Mr.