President-elect Donald Trump is guaranteeing he’ll pay out the $25-million settlement reached last month in fraud cases in New York and California involving his now defunct for-profit Trump University before he is inaugurated, according to newly released details of the deal.

Trump, according to details of the settlement filed Monday night, will make the payments to the plaintiffs’ lawyers by Jan. 18, 2017 — two days before he’ll be sworn in as President.

Details of the settlement, which had been reached 10 days after the Nov. 8 election, were first reported by Politico.

The settlement spared Trump — who during the campaign had bragged about his tendency to never to settle cases — the embarrassment of having to, as President-elect, testify in a class action lawsuit in California that was supposed to begin the Monday after Thanksgiving.

Trump’s lawyers, as well as lawyers for the plaintiffs in the class action suits, have asked U.S. District Judge Gonzalo Curiel, who had pushed for aggressive settlement talks, for preliminary approval of the deal.

"By any metric, this is a fair, adequate, and reasonable settlement," they wrote.

Donald Trump, according to details of the settlement filed Monday night, will make the payments to the plaintiffs’ lawyers by Jan. 18, 2017 — two days before he’ll be sworn in as President.

The suits — filed in New York and California — alleged that Trump University was a scam that did not provide them with the real estate expertise it promised.

News that a settlement had been reached was first reported by the Daily News on Nov. 18.

Under the deal negotiated by Trump’s lawyers, New York state Attorney General Eric Schneiderman, who in 2013 filed a $40 million fraud lawsuit against Trump, and the law firms that brought two separate class action lawsuits regarding Trump University in California, the President-elect had agreed to pay a total of $25 million to settle the matter.

Of that, $21 million will help reimburse those in the two California class action suits — many of whom were also part of the case brought by Schneiderman.

New York will get an additional $3 million to repay people who were not covered by the California lawsuits.

And Trump agreed to pay up to a $1 million penalty for violating New York education law by running an unlicensed university.

Trump doesn’t admit to any wrongdoing in the final agreement

The lawsuits had dogged Trump throughout his campaign, and led him to claim that the judge overseeing two of the cases was biased because he was of Mexican ancestry.

During his campaign, Trump said Curiel, who was born in Indiana to Mexican parents, couldn’t be impartial because of his pledge to build a wall on the U.S.-Mexico border.

Trump had also publicly vowed not to settle the matter.

The suits — filed in New York and California — alleged that Trump University was a scam that did not provide them with the real estate expertise it promised.

"I could have settled this case numerous times, but I don’t want to settle cases when we’re right," he said in May.

Even after the deal was reached, Trump claimed he would have won.

"The ONLY bad thing about winning the Presidency is that I did not have the time to go through a long but winning trial on Trump U. Too bad!" Trump tweeted on Nov. 19, the morning after news of the settlement was reported.

"I settled the Trump University lawsuit for a small fraction of the potential award because as President I have to focus on our country," he wrote then.