US bank JP Morgan has agreed to a record $13 billion (€9.6 billion) settlement after admitting it regularly overstated the quality of mortgages it sold to investors, federal officials have said.
The civil settlement marks the end of weeks of tense negotiations between JP Morgan Chase, the largest US bank, and government agencies.
The government is under pressure to hold banks accountable for wrongdoing that led to the housing crisis.
It called the settlement the largest in US history, but the deal is really several rolled into one.
It includes a $4 billion relief package with US Department of Housing and Urban Development (HUD) and a $4 billion settlement with the Federal Housing Finance Agency, which oversees government mortgage financing companies Fannie Mae and Freddie Mac.
The bank still faces at least nine other government investigations, covering everything from its hiring practices in China to whether it manipulated the Libor benchmark interest rate.
JP Morgan said last month that it had set aside $23 billion to cover litigation expenses.
For the latest settlement, JP Morgan took the unusual step of acknowledging that its employees knowingly sold loans to investors that were shakier than the bank claimed.
Due diligence firms that reviewed those loans for JP Morgan in 2006 and 2007 deemed that 27% of them were failing, but the bank still packaged at least half of those into mortgage securities, the government said.
JP Morgan and government agencies led by the Justice Department reached a tentative agreement in mid-October and have been hammering out details since then.
New York Attorney General Eric Schneiderman was also involved in discussions.
Of the $4 billion settlement with HUD, at least $1.5 billion will go toward loans the bank is forgiving.
As much as $500m will go to change the terms of loans to lower monthly payments.
The remaining $2 billion will be for assorted purposes, including new loans for low- and moderate-income borrowers in areas that have been hard-hit by the housing crisis and for demolition of abandoned homes, a source said.
JP Morgan's negotiations with the Justice Department began last spring, after Justice Department lawyers in California preliminarily concluded that the bank had violated US civil laws.
The Justice Department had looked into mortgage bonds the bank sold from 2005 through 2007, the company said in August.
Government lawyers had prepared to file a lawsuit against JP Morgan in September and scheduled a news conference to announce it.
But they cancelled it at the last minute as JP Morgan reached out to government officials to discuss a settlement.
JP Morgan Chief Executive Jamie Dimon met the US Attorney General later that month to talk about a deal on mortgage probes.