NEW YORK, NY - APRIL 16: (L to R) Adult film actress Stormy Daniels (Stephanie Clifford) and Michael Avenatti, attorney for Stormy Daniels, speak to the media as they exit the United States District Court Southern District of New York for a hearing related to Michael Cohen, President Trump's longtime personal attorney and confidante, April 16, 2018 in New York City.  Cohen and lawyers representing President Trump are asking the court to block Justice Department officials from reading documents and materials related to Cohen's relationship with President Trump that they believe should be protected by attorney-client privilege. Officials with the FBI, armed with a search warrant, raided Cohen's office and two private residences last week.  (Photo by Drew Angerer/Getty Images)
Drew Angerer/Getty Images North America/Getty Images
NEW YORK, NY - APRIL 16: (L to R) Adult film actress Stormy Daniels (Stephanie Clifford) and Michael Avenatti, attorney for Stormy Daniels, speak to the media as they exit the United States District Court Southern District of New York for a hearing related to Michael Cohen, President Trump's longtime personal attorney and confidante, April 16, 2018 in New York City. Cohen and lawyers representing President Trump are asking the court to block Justice Department officials from reading documents and materials related to Cohen's relationship with President Trump that they believe should be protected by attorney-client privilege. Officials with the FBI, armed with a search warrant, raided Cohen's office and two private residences last week. (Photo by Drew Angerer/Getty Images)
Now playing
00:44
Stormy ordered to pay Trump lawyers legal fees
Ktyrsten Sinema/Mark kelly split
Getty Images
Ktyrsten Sinema/Mark kelly split
Now playing
02:55
Biden's top priorities depend on support from these two senators
Getty/CNN
Now playing
01:57
'Do you know how crazy this is?': Tapper on Arizona election 'audit'
Caitlyn Jenner attends the 28th Annual Elton John AIDS Foundation Academy Awards Viewing Party on February 9, 2020 in West hollywood, California. (Photo by Michael Tran / AFP) (Photo by MICHAEL TRAN/AFP via Getty Images)
Michael Tran/AFP/Getty Images
Caitlyn Jenner attends the 28th Annual Elton John AIDS Foundation Academy Awards Viewing Party on February 9, 2020 in West hollywood, California. (Photo by Michael Tran / AFP) (Photo by MICHAEL TRAN/AFP via Getty Images)
Now playing
02:41
Caitlyn Jenner says friends are fleeing California because of homeless people
Anthony Blinken BBC intv
BBC
Anthony Blinken BBC intv
Now playing
03:27
Blinken: US will respond if Russia acts recklessly against Ukraine
02 Gen. David Petraeus lead 05062021
CNN
02 Gen. David Petraeus lead 05062021
Now playing
02:14
Gen. Petraeus on why US may regret pulling troops from Afghanistan
The Ohio Channel
Now playing
01:00
State senator attends Zoom meeting while driving his car
Florida Gov. Ron Desantis holds up the voting bill after signing it on Fox News live. The cable news network was the only press outlet granted access to the signing.
Fox News
Florida Gov. Ron Desantis holds up the voting bill after signing it on Fox News live. The cable news network was the only press outlet granted access to the signing.
Now playing
03:42
Florida governor goes on Fox News to sign controversial law
pool
Now playing
01:28
'Pay your fair share': Biden pitches raising taxes on wealthy
Now playing
03:46
Berman: McCarthy sides with these Republicans but not Liz Cheney?
CNN
Now playing
04:22
'Power and money over ethics': Avlon fires off on GOP
Kevin McCarthy, R-Calif., and Liz Cheney, R-Wyo., conduct a news conference in the Capitol Visitor Center after a meeting with the House Republican Conference on Wednesday, September 23, 2020.
Tom Williams/CQ-Roll Call/Getty Images
Kevin McCarthy, R-Calif., and Liz Cheney, R-Wyo., conduct a news conference in the Capitol Visitor Center after a meeting with the House Republican Conference on Wednesday, September 23, 2020.
Now playing
02:55
Hear McCarthy on a hot mic revealing what he thinks of Cheney
CNN
Now playing
03:08
'Dumb, stupid tribalism': CNN commentator slams GOP infighting
Tennessee House of Representatives
Now playing
03:08
GOP lawmaker applauded after praising three-fifths compromise
Getty Images/AP
Now playing
01:29
This is who Trump endorsed to replace Liz Cheney
Now playing
03:48
Why the GOP has false beef with Biden's climate plan
(CNN) —  

A federal judge in California has ordered Stormy Daniels pay $293,052.33 in attorney’s fees, costs and sanctions to the lawyers representing President Donald Trump in the defamation suit Daniels and her attorney Michael Avenatti brought against Trump earlier this year.

Trump’s attorney, Charles Harder, had asked for a total of nearly $780,000 from the adult films actress – $389,000 in attorney fees and another $389,000 in sanctions in a hearing last week.

In a statement, Harder called the ruling “a total victory for the President.”

“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,” Harder said.

The defamation suit – separate from the original lawsuit about the nondisclosure agreement Daniels signed with former Trump attorney Michael Cohen that’s now at the center of a federal criminal case against Cohen – was brought earlier this year after Trump called an allegation by Daniels that an unknown man threatened her in a parking lot to keep quiet about her alleged affair with Trump a “total con job” in a tweet.

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.

Avenatti argued that Trump’s tweet, posted April 18, “attacks the veracity of her account” of the incident and Trump’s statement was “false and defamatory, and that the tweet was defamation … because it charged her with committing a serious crime,” Federal District Judge S. James Otero wrote in his opinion dismissing the lawsuit in October.

Otero said that argument didn’t hold water.

“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.

As part of Otero’s decision, he ordered Daniels to pay a portion of Trump’s attorney fees.

Trump celebrated the decision in October by calling Daniels “Horseface” in a tweet.

Avenatti said the ruling Tuesday was a partial win for him and his client.

“Trump asked for $800k in attorneys’ fees, costs and sanctions from the minor defamation case. The ct awarded well less than 1/2, recognizing that the request was gross & excessive,” Avenatti said in a tweet that has since been deleted. “The amount in fees awarded Stormy in the main NDA case will be at least $1 million more than this.”

So far, the judge has not ruled on the merits of the nondisclosure case nor has he awarded any fees to either attorney.

Avenatti later added a statement in a series of tweets.

“Trump and his attorney’s attempt to fool the public about the importance of the attorneys’ fees in the defamation case, which are a fraction of what they owe my client in the main NDA case, is an absolute joke,” Avenatti tweeted. “People are smarter than that.”

“Charles Harder and Trump deserve each other because they are both dishonest,” Avenatti wrote in another tweet. “If Stormy has to pay $300k to Trump in the defamation case (which will never hold up on appeal) and Trump has to pay Stormy $1,500,000 in the NDA case (net $1,200,000 to Stormy), how is this a Trump win?”