Bank of America also said that it had reached a $650 million settlement Tuesday with American International Group Inc. to resolve all outstanding residential mortgage-backed securities litigation between the two companies.

The bank said that “substantially all” of the litigation expenses incurred in the second quarter of the year were related to existing mortgage issues that have been previously disclosed.

Like its competitors, Bank of America is still dealing with the fallout from the financial crisis that began in 2007 and the subsequent collapse of the housing market. For example, the bank said in March that it will spend $9.33 billion to resolve a dispute over mortgage securities with the Federal Housing Finance Agency, the regulator that oversees Fannie Mae and Freddie Mac.

However, unlike JPMorgan and Citigroup, Bank of America has yet to settle a federal investigation into its handling of risky subprime mortgages. Citigroup said on Monday that it had agreed to a $7 billion settlement with the Department of Justice, while JPMorgan reached a $13 billion settlement in November.

“We feel like we’ve gotten a large chunk of this behind us … Clearly, the DOJ is the most significant matter that’s out there remaining,” Chief Financial Officer Bruce Thompson said on a call with reporters.

Bank of America’s lawyers met with Justice Department officials Tuesday, but the two parties were unable to reach an agreement, according to a person familiar with the meeting. The Wall Street Journal reported that Bank of America had offered to pay $13 billion in both cash and consumer relief in the meeting, while the department asked for “billions more.” Jerome Dubrowski, a spokesman for Bank of America, said he couldn’t comment on the discussions.

In April, Bank of America was forced to shelve plans to increase its dividend and stock buyback program. The bank said the move came after it realized that it had incorrectly valued securities that it had obtained through its acquisition of Merrill Lynch in 2009. As a consequence, the lender said it needed to hold a higher level of capital.

Bank of America had intended to buy $4 billion of its own stock and raise its dividend from a penny per share to 5 cents per share. The plan had been approved by the Federal Reserve. The bank said May 27 that it had resubmitted its capital plan to the Federal Reserve.

Thompson told reporters on Wednesday that he couldn’t comment on “supervisory matters.”