Donald Trump issued a statement celebrating a court upholding an order for porn star Stormy Daniels to pay him nearly $300,000 in legal fees due to her failed defamation lawsuit.

The ruling marks a likely end to the years-long legal battle between Daniels, whose real name is Stephanie Gregory Clifford, and the former President.

The declaration comes from a federal appeals court rejecting her bid to overturn a lower court decision in her defamation lawsuit against Trump.

In their decision late last week, the U.S. Circuit Court of Appeals for the 9th Circuit said it had no jurisdiction over Daniels’ appeal of the attorneys’ fees issue because she did not file a notice within the proper timeframe, according to CNBC.

A federal judge in 2018 tossed out Daniels’ lawsuit against President Trump, citing First Amendment rights, and ordered her to pay the legal fees.

Daniels had sued the President in April of 2018 regarding a tweet in which he denied her claims of being threatened by a man in a Las Vegas parking lot in 2011.

The adult actress claimed a man had warned her about going public with an alleged affair with Trump. She later provided a police sketch of a man many viewed as a dead ringer for her ex-husband.

Trump mocked her story as a “total con job,” prompting the lawsuit.

RELATED: Judge Tosses Stormy Daniels Lawsuit Against Trump – Orders Her to Pay His Legal Fees

Trump Celebrates Win Over Stormy Daniels

Daniels has claimed she had sex with the former President in 2006, a claim he denies, but which led to his former personal lawyer, Michael Cohen, paying $130,000 in exchange for her keeping quiet about the alleged relationship.

In a statement issued Monday evening, President Trump celebrated the court ruling against Stormy Daniels.

“The lawsuit was a purely political stunt that never should have been started, or allowed to happen, and I am pleased that my lawyers were able to bring it to a successful conclusion after the court fully rejected her appeal,” he said.

“Now all I have to do is wait for all of the money she owes me,” gloated Trump.

The 2024 Republican frontrunner also took a personal jab at Daniels in his statement.

“As I have stated many times throughout the years, I never had an affair with Stormy Daniels, nor would I ever have wanted to,” Trump claimed.

He called the ruling “a total and complete victory and vindication for, and of me.”

RELATED: Joe Rogan Hammers Media For Covering Up Hunter Biden Story: ‘They Ignore Facts To Push A Narrative’

Stormy Vows to Never Pay

Stormy Daniels responded to a Twitter user suggesting she’ll need to “hit that stripper pole hard” in order to afford Trump’s attorneys’ fees.

“I will go to jail before I pay a penny,” she replied.

CNBC points out that the amount Stormy Daniels owes Trump is nearly equivalent to the amount “that she was swindled out of by Michael Avenatti, her former lawyer.”

Avenatti was found guilty of stealing from his porn star client by tricking her literary agent into sending him almost $300,000 in publisher’s payments.

He faces up to 22 years in prison when he’s sentenced for that conviction on May 24.

Cohen served a three-year sentence for tax evasion, bank fraud, and lying to Congress stemming from the payment to Daniels, along with another to model Karen McDougal, who also claimed she slept with Trump.