SAN FRANCISCO (KCBS)—San Francisco’s City Attorney has won a fight with the credit card division of the nation’s largest bank, which means millions of dollars for the city and tough new consumer protections for customers of Bank of America.

If you have a Bank of America card, you may have noticed the fine print that says you agree to go to binding arbitration if there’s a dispute. San Francisco City Attorney Dennis Herrera said that sounds fair, but it wasn’t. Now he’s won a $5 million settlement from Bank of America credit card subsidiary FIA Card Services.

READ MORE: Search For Missing Santa Rosa Teen Last Seen Near Ice Skating Rink

KCBS’ Doug Sovern Reports:

“Essentially the binding arbitration they were getting was rigged against them,” he said.

READ MORE: 14-Year-Old Arrested For Murder Of Teen Found Dead Near Train Tracks In Fairfield

Herrera added that out of about 30,000 arbitrations, only 30 found in favor of the consumer.

NAF is the National Arbitration Forum, which FIA will no longer use. Cardholders will be allowed to go to court to make their cases instead. The city is still suing NAF separately. Herrera says the arbitration system was a sham with customers charged outrageous attorneys’ fees and almost always losing in the end.

MORE NEWS: UPDATE: Winds Stoke Massive, Still-Growing Dixie Fire in Northern California

(Copyright 2011 by CBS San Francisco. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed.)