The steep loss contrasted sharply with the profit of 1.045 billion francs ($1.16 billion) it posted in the April-June period a year ago. It resulted in what the bank called a final settlement of the U.S. government’s case against the bank for helping wealthy Americans avoid paying taxes through secret offshore accounts.

The Zurich-based bank pleaded guilty in May to aiding U.S. tax evaders and agreed to pay about $2.6 billion to the U.S. government and regulators, allowing it to put the criminal investigation behind it.

“I want to reiterate that we deeply regret the past misconduct that led to this settlement and that we take full responsibility for it,” Chief Executive Brady Dougan said in a statement. “The continued trust and support of our clients helped us mitigate the impact of the settlement on our business.”

The bank took a charge of 1.6 billion Swiss francs ($1.78 billion) as part of its settlement over the U.S. tax evasion charges.

Credit Suisse announced it has exited commodities trading, a move that it says will allow it to transfer resources to shore up its private banking.

It also said it had trimmed its worldwide staff to 45,100 by the second quarter from 46,300 a year earlier, and has already cut costs by 3.4 billion francs out of a total 4.5 billion francs it plans to cut by the end of next year.

Shares of Credit Suisse AG closed down nearly 1 per cent at 25.84 francs Tuesday on the Zurich exchange.