NEW YORK (AP) — A New York appeals court on Thursday threw out the massive financial penalty a state judge imposed on President Donald Trump, while narrowly upholding a finding he engaged in fraud by exaggerating his wealth for decades. The ruling spares Trump from a potential half-billion-dollar fine but bans him and his two eldest sons from serving in corporate leadership for a few years.

Trump, in a social media post, claimed “total victory.”

“I greatly respect the fact that the Court had the Courage to throw out this unlawful and disgraceful Decision that was hurting Business all throughout New York State,” he wrote.

The decision came seven months after the Republican returned to the White House. A sharply divided panel of five judges in New York’s mid-level Appellate Division couldn't agree on many issues raised in Trump's appeal, but a majority said the monetary penalty was “excessive.”

After finding Trump flagrantly padded financial statements that went to lenders and insurers, Judge Arthur Engoron ordered him last year to pay $355 million in penalties. With interest, the sum has topped $515 million. Additional penalties levied on some other Trump Organization executives, including Trump’s sons Eric and Donald Jr. — bring the total to $527 million, with interest.

“While the injunctive relief ordered by the court is well crafted to curb defendants’ business culture, the court’s disgorgement order, which directs that defendants pay nearly half a billion dollars to the State of New York, is an excessive fine that violates the Eighth Amendment of the United States Constitution,” Judges Dianne T. Renwick and Peter H. Moulton wrote in one of three opinions shaping the appeals court’s ruling.

Engoron’s other punishments, upheld by the appeals court, have been on pause during Trump’s appeal, and the president was able to hold off collection of the money by posting a $175 million bond.

The court, which split on the merits of the lawsuit and Engoron’s fraud finding, dismissed the penalty in its entirety while also leaving a pathway for an appeal to the state’s highest court, the Court of Appeals. Trump and his co-defendants, the judges wrote, can seek to extend the pause on any punishments taking effect.

The panel was sharply divided, issuing 323 pages of concurring and dissenting opinions with no majority. Rather, some judges endorsed parts of their colleagues' findings while denouncing others, enabling the court to rule.

Two judges wrote that they felt New York Attorney General Letitia James’ lawsuit against Trump and his companies was justifiable and that she had proven her case but the penalty was too severe. One wrote that James exceeded her legal authority in bringing the suit, saying that if any of Trump’s lenders felt cheated, they could have sued him themselves, and none did. One judge wrote that Engoron erred by ruling before the trial began that the attorney general had proved Trump engaged in fraud.

In his portion of the ruling, Judge David Friedman, who was appointed to the court by Republican Gov. George Pataki, was scathing in his criticism of James for bringing the lawsuit.

“Plainly, her ultimate goal was not ‘market hygiene' ... but political hygiene, ending with the derailment of President Trump’s political career and the destruction of his real estate business," Friedman wrote. "The voters have obviously rendered a verdict on his political career. This bench today unanimously derails the effort to destroy his business.”

In a statement, James focused on the part of the case that went her way, saying the court had “affirmed the well-supported finding of the trial court: Donald Trump, his company, and two of his children are liable for fraud.”

“It should not be lost to history: yet another court has ruled that the president violated the law, and that our case has merit,” James said.

The appeals court, the Appellate Division of the state’s trial court, took an unusually long time to rule, weighing Trump’s appeal for nearly 11 months after oral arguments last fall. Normally, appeals are decided in a matter of weeks or a few months.

Trump and his co-defendants denied wrongdoing. At the conclusion of the civil trial in January 2024, Trump said he was “an innocent man” and the case was a “fraud on me.” The Republican has repeatedly maintained the case and the verdict were political moves by James and Engoron, both Democrats.

Trump’s Justice Department has subpoenaed James for records related to the lawsuit, among other documents, as part of an investigation into whether she violated the president’s civil rights. James’ personal attorney Abbe D. Lowell has said investigating the fraud case is “the most blatant and desperate example of this administration carrying out the president’s political retribution campaign.”

Trump and his lawyers said his financial statements weren’t deceptive, since they came with disclaimers noting they weren’t audited. The defense also noted bankers and insurers independently evaluated the numbers, and the loans were repaid.

Despite such discrepancies as tripling the size of his Trump Tower penthouse, he said the financial statements were, if anything, lowball estimates of his fortune.

During an appellate court hearing last September, Trump’s lawyers argued that many of the case’s allegations were too old and that James had misused a consumer protection law to sue Trump over private business transactions that were satisfactory to those involved.

State attorneys said that while Trump insists no one was harmed by the financial statements, his exaggerations led lenders to make riskier loans and that honest borrowers lose out when others game their net worth numbers.

The civil fraud case was just one of several legal obstacles for Trump as he campaigned, won and segued to a second term as president.

On Jan. 10, he was sentenced in his criminal hush money case to what’s known as an unconditional discharge, leaving his conviction on the books but sparing him jail, probation, a fine or other punishment. He is appealing the conviction.

And in December, a federal appeals court upheld a jury’s finding that Trump sexually abused writer E. Jean Carroll in the mid-1990s and later defamed her, affirming a $5 million judgment against him. The appeals court declined in June to reconsider. Trump still can try to get the Supreme Court to hear his appeal.

Trump also is appealing a subsequent verdict that requires him to pay Carroll $83.3 million for additional defamation claims.

___

Follow the AP's coverage of President Donald Trump at https://apnews.com/hub/donald-trump.