Disgraced money manager Bernard Madoff's longtime auditor pleaded guilty to securities fraud and other charges on Tuesday in a co-operation deal that could leave him behind bars for years.

The government said David Friehling, whose plea was accepted in federal court in Manhattan, would have known that Madoff was carrying out history's biggest pyramid, or Ponzi scheme - because he kept the books.

But the auditor told US District Judge Alvin K. Hellerstein: "At no time was I ever aware Bernard Madoff was engaged in a Ponzi scheme."

Prosecutors said last week that Friehling would enter a plea to securities fraud, investment adviser fraud, making false filings with the Securities and Exchange Commission, and obstructing or impeding the administration of the Internal Revenue laws.

The charges carry a potential prison term of up to 108 years in prison, though substantial co-operation with prosecutors can result in leniency.

Friehling, 49, was Madoff's auditor from 1991 to 2008, roughly the amount of time that Madoff admitted he carried out his fraud when he pleaded guilty in March. The 71-year-old Madoff is serving a 150-year sentence at a prison in North Carolina.

Authorities say if Friehling had done his job, they would have known years earlier that Madoff was carrying out history's greatest Ponzi scheme by paying money to some investors with the proceeds he received from other investors.

- AP