The National Football League on Thursday reached a $765 million settlement to end the massive head trauma lawsuit brought against it by more than 4,500 former players.

The settlement was reached in a mediation process ordered by a federal judge, who must still approve it. Under the terms of the agreement, the league would pay out $675 million to former players with lasting cognitive impairments, $75 million for medial exams, and $10 million for head trauma research and education.

"This agreement lets us help those who need it most and continue our work to make the game safer for current and future players," NFL Executive Vice President Jeffrey Pash said in a statement.

The settlement is a huge win for the NFL, which has come under fire in recent years for its handling of brain trauma. Thousands of former players have come forward with lasting ailments, while others have died or committed suicide. Some of the plaintiffs in the suit, including Junior Seau and Ray Easterling — a lead plaintiff in several suits against the NFL — committed suicide and were later found to have had a degenerative brain disease known as chronic traumatic encephalopathy, or C.T.E.

Plaintiffs in the suit had alleged that the league ignored or covered up links between head trauma sustained from football and severe, lasting cognitive problems. By settling, the league avoided a lengthy investigation that would have forced it to reveal what it knew and when about brain injuries — a potentially embarrassing PR debacle.

More than that, the deal does not require the NFL to admit any link between football and brain trauma, nor acknowledge that it tried to hide such a link:

The settlement does not represent, and cannot be considered, an admission by the NFL of liability, or an admission that plaintiffs’ injuries were caused by football. Nor is it an acknowledgement by the plaintiffs of any deficiency in their case. Instead, it represents a decision by both sides to compromise their claims and defenses, and to devote their resources to benefit retired players and their families, rather than litigate these cases. [NFL]

The size of the settlement also worked out in the NFL's favor, since it was speculated further litigation could have cost the league as much as $2.5 billion.

Though $765 million may seem like a sizable sum, it's far less impressive when compared against the league's stellar finances.

The NFL is the most profitable sports league in the world, with estimated annual revenue just over $9 billion. The Oakland Raiders, the least-valuable football team in the NFL, are worth more than the entire settlement, with an estimated value of $825 million, per Forbes.

The NFL's revenue is only expected to grow, too — Commissioner Roger Goodell has said he wants revenues to hit $25 million by 2027 — thanks in large part to some incredibly lucrative TV contracts. ESPN pays the NFL $1.9 billion per year just to air Monday Night Football, a sum more than twice that of the entire settlement.

And despite the league's assertion that it is committed to making the game safer, only $10 million from the settlement — or roughly 0.1 percent of the NFL's annual revenue — will go toward concussion research and education.

Last week, ESPN pulled out of a joint investigative project addressing head trauma in the NFL with PBS' venerable Frontline program. Though the network claimed the decision was over editorial control, the New York Times reported that the decision came after a "combative meeting" between ESPN and NFL brass in which the league "conveyed their displeasure" with the investigative report.