Get breaking news alerts and special reports. The news and stories that matter, delivered weekday mornings.

A federal judge in Los Angeles on Monday formally dismissed porn actress Stormy Daniels' defamation claim against Michael Cohen, President Donald Trump's former lawyer.

The civil allegation against Cohen was tossed "with prejudice," meaning that it's permanently done and Trump's one-time lawyer will "no longer face the threat of further litigation in this court or any other forum," according to the order by U.S. District Court Judge James Otero.

Let our news meet your inbox. The news and stories that matters, delivered weekday mornings. This site is protected by recaptcha

Daniels' legal team had previously asked Otero, back in November, to dismiss a defamation claim against the president's lawyer.

"We asked that the minor defamation claim be dismissed and it was," the actress' lawyer Michael Avenatti said.

Otero on Monday also denied Cohen's request for attorney fees.

The court had already dismissed Daniels' defamation case against Trump. Daniels has claimed that she had a sexual encounter with Trump in 2006 and was warned by an unidentified man to keep quiet about it five years later, after she gave an interview to a gossip magazine.

The porn actress, whose real name is Stephanie Clifford, still has a civil litigation case pending against Trump, challenging a nondisclosure agreement she signed to keep quiet about the alleged affair.

The ramifications resulting from the courage and actions of @StormyDaniels will be far-reaching and will reverberate for years on end. She deserves significant respect and appreciation for what she put in motion. — Michael Avenatti (@MichaelAvenatti) February 5, 2019

Avenatti, insisted on Tuesday that Daniels should be praised for bringing legal action against Trump.

"She deserves significant respect and appreciation for what she put in motion," Avenatti tweeted.