Thousands of former Trump University students could get refunds equaling 80 percent of their tuition.

Court papers filed late Thursday afternoon confirm that nearly 4,000 former students who paid for a three-day seminar and "Gold Elite" program could each get a refund of about $30,000, about 80 percent of what they paid.

Trump agreed last year to settle a class action lawsuit over allegations of fraud at his now-defunct university. The lawsuit claims that Trump University misled students by promising to teach them the secrets to achieving success in the real estate business — a promise the former students say was not fulfilled.

Two of the plaintiffs are challenging the proposed settlement, but attorneys said the settlement, agreed to by current U.S. President Donald Trump, is an excellent outcome for the disgruntled former students.

“The numbers are in, and they end any debate about the fairness of this Settlement,” the lawyers wrote in their latest legal motion. “No rational actor could expect to do better at trial, especially in a case where…Class Members may have been required to put up individualized proof of their damages to get any relief."

The attorneys also note that the two dissenters make up just 0.05 percent of the class action.

A judge will hear those objections and is expected to approve or reject the proposed settlement at a hearing next week at San Diego’s federal courthouse.

You can view the full documents filed Thursday here.