Bank of America will pay $404 million to mortgage buyer Freddie Mac to settle all remaining claims over home loans sold in the previous decade.

The Charlotte, N.C., bank says the deal resolves claims on loans sold from 2000 through 2009, which includes mortgage-backed investments that soured during the housing crash. The bank’s reserves will cover the payment.