FILE PHOTO: Former U.S. President Trump attends a hearing on a criminal case linked to a hush money payment, in New York City

Former President Donald Trump speaks outside the courtroom on the day of a court hearing in New York State Supreme Court in the Manhattan borough of New York City on Thursday.

NEW YORK — Donald Trump must pay $354.9 million in penalties for fraudulently overstating his net worth to dupe lenders, a New York judge ruled on Friday, handing the former president another legal setback in a civil case that imperils his real estate empire.

Justice Arthur Engoron, in a sharply worded decision issued after a contentious three-month trial in Manhattan, also banned Trump, who is running to regain the presidency this year, from serving as an officer or director of any New York corporation for three years. Trump’s lawyer Alina Habba vowed to appeal.