Equifax has agreed to pay at least $1.4 billion to settle multidistrict litigation brought on behalf of 147 million U.S. consumers and pay millions more to resolve civil complaints brought by the federal government and multiple state attorneys general over its massive 2017 data breach.

Monday’s notice of the proposed settlement, detailed in court papers filed in Atlanta, would largely resolve the legal fallout from consumers whose personal and financial data was hacked following one of the nation’s largest data breaches.