UBS Group AG said it agreed to pay $1.44 billion to settle a case with the US Department of Justice regarding how it handled residential mortgage-backed securities.

The matter stems from 2006 and 2007 and related to the issuance, underwriting and sale of the securities, UBS said in a statement Monday.

In 2019, a federal judge in Brooklyn, New York, denied UBS’s bid to dismiss the suit, which the DOJ brought in 2018. It accused the bank off selling tens of billions of dollars of residential mortgage-backed securities by “knowingly and repeatedly” making false and fraudulent statements to investors about the loans backing them.

UBS argued the suit should be dismissed because it failed to allege sufficient facts to show motive, opportunity or “deliberately illegal behavior.” The bank also argued that the US failed to show “fraudulent intent” of any employees.

But US Judge Margo Brodie in Brooklyn ruled the case should go forward, saying the government’s complaint “alleges strong circumstantial evidence of conscious misbehavior or recklessness.”

The agreement resolves all civil claims by the DOJ linked to the Swiss bank’s legacy RMBS business in the US, the company said in Monday’s statement. The settlement has been fully provisioned, according to the bank.

“The scope of this settlement should serve as a warning to other financial institutions – both large and small – of the significant penalties that can result when corporations misrepresent vital information to investors and undermine trust in our public markets,” Ryan Buchanan, US attorney for the Northern District of Georgia, said in a separate statement Monday.

This article was provided by Bloomberg News.