BERLIN (AP) -- A Swiss bank says it has agreed to pay $57.8 million to settle a court case in which it was charged with conspiring to help American clients hide more than $1.2 billion from the Internal Revenue Service.

Wegelin & Co. said Thursday that under the plea deal accepted by U.S. District Judge Jed Rakoff in New York City, the firm admits to violating American law by operating accounts for U.S. taxpayers between 2002 and 2010.

The bank was accused of helping at least 100 U.S. clients conceal huge sums of money from the federal tax collection agency in overseas accounts.

Wegelin says it agreed to pay $20 million restitution for lost taxes, a $22 million fine and $15.8 million for its estimated profits from the U.S. activities.

Try any of our Foolish newsletter services free for 30 days. We Fools may not all hold the same opinions, but we all believe that considering a diverse range of insights makes us better investors. The Motley Fool has a disclosure policy.