The Goldman Sachs Group Inc. and Bain Capital Partners LLC agreed on Wednesday to pay a total of $121 million to settle a long-running antitrust lawsuit alleging that they and other private equity players conspired to deflate the price of corporate takeovers in the years running up to the financial crisis.

Goldman Sachs agreed to pay $67 million to settle claims against the bank’s private equity arm, while Bain Capital agreed to pay $54 million. The proposed settlement is subject to approval by U.S. District Judge William Young, who inherited the underlying litigation from Senior Judge Edward Harrington in December 2013. Goldman is represented in the case by Ropes & Gray and Sullivan & Cromwell. Bain Capital has Jones Day and Kirkland & Ellis.