A judge in New York has ruled that Donald Trump must pay $2 million for improperly using the Trump Foundation for his political campaign in 2016. CNN reports:

Filed in June 2018, the lawsuit alleged that the President and his three eldest children — Don Jr., Ivanka and Eric — violated federal and state campaign finance laws and abused the Donald J. Trump Foundation’s tax-exempt status. According to the lawsuit, the Trumps allowed the foundation to be used “as little more than a checkbook to serve Mr. Trump’s business and political interests.”

The settlement with the New York attorney general stipulates that Trump will close the foundation and distribute about $1.7 million to non-profits.

Trump tweeted earlier this year that he wouldn’t settle the lawsuit.