(VARIETY) — Fox News has agreed to pay $10 million to settle discrimination cases with 18 former employees, putting to rest most of the litigation that followed the high-profile departures of Roger Ailes and Bill O’Reilly over the last two years.

One of the cases was a class action with 11 plaintiffs who alleged that the network engaged in racial discrimination. Another involved a radio correspondent who alleged she was fired for complaining about gender discrimination, while in another case a Fox 5 correspondent accused the network of pregnancy discrimination.

Douglas Wigdor, the attorney who represented the plaintiffs, issued a joint statement Tuesday with Fox News: “The parties have reached mutual agreements that resolve various cases involving former Fox News employees.”

Note: Read our discussion guidelines before commenting.