A federal judge on Monday approved a $410 million settlement in a class-action lawsuit affecting about 13 million Bank of America debit card customers who had overdrafts over the past 10 years.

Bank of America attorneys and customers had asked Senior U.S. District Judge James Lawrence King earlier on Monday to approve the settlement.

The settlement comes after the Charlotte, N.C.-based bank recently backed off a plan to charge a $5 monthly fee on debit-card purchases beginning in 2012.

The settlement will affect 13.2 million customers who had debit cards between January 2001 and May 2011, Bank attorney Laurence Hutt said, according to USA Today. Current customers will get an automatic credit and other would be mailed checks.

None would have to fill out any paperwork, according to the report.

Customers participating in the settlement would receive about 9 percent of the fees they were charged.

Plaintiffs in the case claimed Bank of America processed debit card transactions in the order of highest to lowest dollar amount as it could maximize overdraft fees customers paid, according to the report.

Reaching a settlement means Bank of America admits no wrongdoing in the case. Current laws forbid banks from charging overdraft fees on debit cards without customer permission.