The mass mailing of foreclosure checks to borrowers who lost homes in the years 2009 and 2010 is nearly complete.

So far, 3.9 million checks valued at $3.4 billion have been mailed to former homeowners as part of the Independent Foreclosure Review Payment Agreement, the Office of the Comptroller of the Currency confirmed Friday.

The $9.3 billion deal, which effectively ended a probe into foreclosures handled by 13 major servicing firms, set aside $3.6 billion to pay borrowers directly.

About 2.9 million checks valued at $2.5 billion have been cashed thus far.

The remaining checks will be issued this summer, the regulator said.

The checks are compensating borrowers who were in any stage of the foreclosure process during the years 2009 and 2010.

It only applies to those who had mortgages serviced by Aurora, Bank of America, Citibank, Goldman Sachs, HSBC, JPMorgan Chase, MetLife Bank, Morgan Stanley, PNC, Sovereign, SunTrust, U.S. Bank and Wells Fargo.