A US district judge on Friday approved a 25-million-dollar settlement of lawsuits and state fraud allegations against Trump University, the US president's now-defunct business venture.
The settlement was agreed in November, days after New York real estate mogul, television star and political novice Donald Trump unexpectedly won the presidential election.
New York Attorney General Eric Schneiderman had filed a case alleging that the business, which claimed to teach enrollees about real estate investing, operated illegally and defrauded thousands of people.
Under the settlement, Trump himself will refund most of the money that some 3,700 students had paid.
The New York case, filed in 2013, was combined with two California class-action lawsuits in the settlement, which "will provide relief - and hopefully much-needed closure - to the victims of Donald Trump's fraudulent university," Schneiderman said.
"Trump University's victims waited years for compensation, while President Trump refused to settle and fought us every step of the way - until his stunning reversal last fall," Schneiderman said.
The New York case alleged "persistent fraudulent, illegal and deceptive conduct" for running an unaccredited university and failing to deliver real estate investment techniques to students, some of whom lost thousands of dollars in the process.
Judge Gonzalo Curiel approved the agreement in a 31-page ruling Friday in federal court in San Diego.
During his presidential campaign, Trump had described the US-born Curiel, who is Latino, as "Mexican" and accused him of being biased in the case.