The Department of Justice on Thursday announced that Bank of America will pay a $16.65 billion fine to settle allegations it sold risky mortgage-backed securities before the 2008 financial crisis.

The DOJ says it will be the single largest settlement in history between the federal government and a single company.

Less than a year ago, JPMorgan Chase agreed to pay $13 billion and admit they sold risky mortgages. And just this summer, Citigroup made a settlement for $7 billion with the DOJ.