NEW YORK (Reuters) - A New York court has sentenced Donald Trump to pay $ 2 million in compensation under a friendly agreement for using his charity for political purposes.

New York State Supreme Court Judge Salian Scarpola sentenced the US president to pay $ 2 million in compensation to settle a civil suit brought by Democratic Justice Leticia James.

James filed a lawsuit against the Trump Society in June last year for its "permanent illegal behavior", including inappropriate coordination between charity work and the 2016 presidential campaign.

Trump agreed to close the assembly in December, but the case continued with prosecutors seeking $ 7 million in damages. James said in a statement that the verdict is "a historic victory for our efforts to protect charitable funds and hold accountable those who use charity for personal ends."

Judge accused Trump of using the association's money to settle legal prosecutions, promote his hotels and cover personal expenses, including buying a portrait of him for display at one of his golf clubs.

She asserts that during his 2016 presidential campaign, Trump staged a fundraiser for charity, which was in fact a campaign-related occasion. In a tweet on Twitter, Trump condemned "what the New York prosecutor is deliberately distorting this agreement for political purposes."