On Tuesday, a Federal judge ordered porn star Stormy Daniels to pay President Trump $293, 052.33 in attorneys’ fees in her defamation case against Trump which was previously tossed out by a judge.

Last week an attorney for Trump asked a judge to order Stormy Daniels to pay $800,000 in legal fees saying his law firm has spent over 500 hours defending Trump against the defamation allegations.

Trump’s lawyer Charles Harder also asked the judge to penalize Stormy Daniels to deter her from future frivolous claims.

JUST IN: Federal judge orders Stormy Daniels to pay President Donald Trump $293,052.33 in attorneys' fees in her defamation case against the president, which the judge tossed out. pic.twitter.com/MIfHSijuF9 — Chris Geidner (@chrisgeidner) December 11, 2018

TRENDING: BREAKING: 'At Least 10 Shots' Reportedly Fired at Police By Louisville Black Lives Matter Rioters — UPDATE... At Least Two Officers Shot (VIDEOS)

Trump’s lawyer Charles Harder released a statement: “The court’s order, along with the court’s prior order dismissing Stormy Daniels’ defamation case against the President, together constitute a total victory for the President, and a total defeat for Stormy Daniels in this case.”

A federal judge dismissed Stormy Daniels’ defamation suit against President Trump in October.

Stormy filed a defamation suit against President Trump after he mocked her over a sketch of the man who allegedly threatened her–the man in the sketch looked eerily like her ex-husband.

The U.S. District Judge dismissed the case on grounds Trump’s tweet was “rhetorical hyperbole,” not defamatory as Stormy Daniels alleged.

Now Stormy has to pay up — her creepy lawyer Avenatti strikes out AGAIN!