Settlement terms filed Monday by the Justice Department over flawed foreclosure practices include an agreement by JPMorgan Chase Bank to pay the federal government $45 million to settle a lawsuit alleging that it defrauded military veterans.

It alleges they cheated veterans and taxpayers out of millions of dollars by hiding illegal fees in veterans’ home mortgage refinancing transactions.

“Our lawsuit alleges that these lenders committed blatant fraud,” said co-lead counsel Marlan Wilbanks of Atlanta. “Although JPMorgan Chase has paid to settle its claims, we are looking forward to moving the case against the other defendant lenders. These banks should be held accountable for causing the government to pay millions of dollars on void loan guarantees.”