The U.S. government has agreed to compensate thousands of migrant families who were forced apart at the southern border in 2017 and 2018 as part of the Trump administration’s “zero-tolerance” policy.

The class-action settlement with the ACLU was filed Monday in federal court in San Diego. It’s a milestone in the years-long battle over family separations.