An appeals court tossed out the massive civil fraud penalty against President Donald Trump nearly a year after he challenged the ruling.

A five-judge panel in New York’s mid-level Appellate Division ruled the $355 million penalty imposed by Judge Arthur Engoron, which would have ballooned to $515 million with interest, was "excessive," and threw out the verdict, reported the Associated Press.

“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,” wrote Judges Dianne T. Renwick and Peter H. Moulton in one of the opinions shaping the appeals court’s ruling.

The court was split on the merits of the lawsuit and the lower court’s fraud finding, but dismissed the penalty Engoron imposed in its entirety while also leaving open the possibility for further appeals to the state’s highest Court of Appeals.

New York Attorney General Letitia James, who brought the suit on the state’s behalf and accused Trump of engaging in “lying, cheating, and staggering fraud," had no immediate comment after Thursday’s decision.