Breaking News Emails

Get breaking news alerts and special reports. The news and stories that matter, delivered weekday mornings.
/ Source: Reuters

Bank of America posted a first-quarter loss as the No. 2 U.S. bank recorded $6 billion in litigation expenses related to a settlement with the Federal Housing Finance Agency and other mortgage-related matters.

The bank reported a net loss attributable to shareholders of $514 million, or 5 cents per share, in the three months to March 31 compared with a profit of $1.11 billion, or 10 cents per share, a year earlier.

Bank of America posted a first-quarter loss after taking $6 billion in charges for legal expenses.NICHOLAS KAMM / AFP - Getty Images

The previous quarter's results were hit by $1.6 billion in charges related to disputes with bond insurers.

Bank of America results follow reports from several other big banks. Earlier this week, Citigroup topped revenue and earnings estimates while Wells Fargo saw profit rise as costs fell.

Late last month, BofA announced a settlement with the FHFA and the New York Attorney General, which included a cash payment of $6.3 billion.

-- CNBC contributed to this report.