The Justice Department on Monday announced a roughly $5 billion settlement with Goldman Sachs over the sale of mortgage-backed securities leading up to the 2008 financial crisis. The government accused the bank of misleading investors about the quality of its loans.

The $5.06 billion deal resolves state and federal probes into the sale of shoddy mortgages in the run-up to the housing bubble and subsequent economic meltdown.