Credit: Chip Somodevilla/Getty

A New York judge has ruled that President Trump must pay $2 million in damages to settle claims that the Trump Foundation misused funds. The money will go to a group of charities, and the foundation is in the process of dissolving.

The case is tied to a televised fundraiser for veterans held by Trump in Iowa when he was running for president in January 2016. Trump had said the funds raised would be distributed to charities. But according to court documents, the Trump Foundation improperly used $2.82 million it received from that fundraiser.

According to the judgment, that money “was used for Mr. Trump’s political campaign and disbursed by Mr. Trump’s campaign staff, rather than by the Foundation,” which is unlawful. However, Justice Saliann Scarpulla says the funds did eventually reach charity organizations supporting veterans.