President-elect Donald Trump has reached a $25 million settlement in the Trump University fraud case.

New York Attorney General Eric T. Scheniderman released a statement Friday afternoon with details on the settlement agreement.

Disgruntled former students of Trump University claimed that they paid up to $35,000 to learn real estate secrets from the business tycoon but that the courses fell far short of promises, with no direct contact with Trump. In his defense, Trump said Trump University had a 98 percent approval rating on student evaluations. Trump University closed in 2010.

Trump responded to the settlement news Saturday morning on Twitter.

Earlier this month, Judge Gonzalo Curiel urged both sides to try to reach a settlement, according to Reuters.