(AP) — The University of Michigan has agreed to a $490 million settlement with more than 1,000 people who say they were sexually assaulted by a former sports doctor at the school during his nearly four-decade career, those involved in the agreement said Wednesday.

Attorney Parker Stinar said that 1,050 people will share in the settlement, which was reached the night before. The university had been in mediation to resolve multiple lawsuits by mostly men who said Dr. Robert Anderson sexually abused them during routine medical examinations.

“It has been a long and challenging journey, and I believe this settlement will provide justice and healing for the many brave men and women who refused to be silenced,” said Stinar, who represents about 200 victims.

University spokesman Rick Fitzgerald confirmed the settlement and said a statement would be released later Wednesday.

Anderson worked at the university from 1966 until his 2003 retirement and was director of the university’s Health Service and a physician for multiple athletic teams, including football. A number of football players and other athletes have come forward to accuse Anderson, who died in 2008, of sexually abusing them.

A report by a firm hired by the school determined that staff missed many opportunities to stop Anderson over his 37-year career.

The university regularly is ranked among the top public universities in the U.S.

The deal came just after two men who say they were sexually assaulted by Anderson said they were hoping that a change in leadership with the weekend firing of university President Mark Schlissel would allow the school be more accountable toward abuse victims.

Keith Moree and Robert Stone told reporters Tuesday that the Ann Arbor school is ripe for a culture change as its board conducts a search to permanently replace Schlissel, who was removed Saturday due to an alleged “inappropriate relationship with a university employee.”

Get the latest local news, weather, and community events. Sign up for the WTAJ Newsletter.