NEW YORK (CNNMoney) -- Bank of America has reached a $3 billion agreement with Freddie Mac and Fannie Mae to resolve a faulty mortgage loan dispute involving Countrywide Financial Corp.
The purpose of this agreement is to settle an issue of bad mortgages sold by Countrywide to Fannie Mae and Freddie Mac related to the housing crisis of 2008.
The $2.6 billion worth of payments to Freddie and Fannie, combined with potential losses on future repurchases from government-sponsored enterprises, adds up to $3 billion in expenses, according to BofA.
A Bank of America spokesman also said it expects to take an additional $2 billion charge to fourth-quarter results from the decline in the mortgage business, bringing the total impact to the company to $5 billion.
"Our goals remain the same: put these issues behind us; focus on serving customers and clients; and continue to help distressed homeowners facing difficult times," said Bank of America Chief Executive Brian Moynihan.
The midterm elections are around the corner, and the economy remains a top concern. With unemployment down and inflation low, why do people still feel the economy stinks? More
Shares of Facebook recently topped $80. They've more than quadrupled from their post-IPO lows of two years ago. Can Mark Zuckerberg keep the momentum in mobile going? More