ANNAPOLIS, Md. (AP) — State auditors say about $8.7 million in tax revenues were distributed to the wrong towns in Montgomery County.

Citing a recently obtained audit, The Baltimore Sun reports (http://bsun.md/2d2Zsbk ) that more than 14,000 returns that went through the office of Maryland Comptroller Peter Franchot had been erroneously classified.

READ MORE: Baltimore County Police Union Says It Has Lost Confidence In Leadership Of BCPD Chief Melissa Hyatt

The audit also found problems with how the office handles out-of-state tax credits, keeps information secure, and issues replacement refund checks.

Franchot defended his office Wednesday, saying he and his staff inherited the revenue distribution problem from previous comptrollers, discovered it and corrected it. Towns have until 2024 to begin paying back the funds.

READ MORE: Technical Problems Raise Transparency Concerns In Latest Marilyn Mosby Criminal Case Hearing

Franchot says his office didn’t lose any money and accused Senate President Thomas V. Mike Miller of politicizing the audit.

A spokesman for Miller called Franchot’s charges “asinine.”

MORE NEWS: Hogan Calls On Franchot To 'Halt Or Minimalize' Pending Gas Tax Increase; Comptroller Says Executive Action Is Needed

(Copyright 2016 by The Associated Press. All Rights Reserved.)