Two companies that make railroad equipment have agreed to pay nearly $49 million to resolve a class action lawsuit alleging that their so-called “no-poach” agreements violated antitrust law.

On Monday, attorneys from Lieff Cabraser Heimann & Bernstein and Fine, Kaplan and Black filed a motion for preliminary approval to settle the case In re Railway Industry Employee No-Poach Antitrust Litigation for $48.95 million. The settlement includes $12 million from equipment maker Knorr and $36.95 million from Wabtec, which develops electronic products for rail operations.