A former Atlantic City inspector pleaded guilty Thursday to accepting cash bribes from a taxi operator and operators of massage parlors and “stress therapy centers.”

Logan F. Holt, Jr., pleaded guilty to a second-degree charge of official misconduct. Under the plea agreement, the state will recommend that Holt be sentenced to five years in state prison and he will be permanently barred from public employment in New Jersey.

Holt was indicted late last year following an investigation by the New Jersey State Police. Holt was an inspector with the Atlantic City Department of Licenses and Inspections from 2002 through 2012. In pleading guilty, Holt admitted that on April 1, 2010, he accepted an $800 cash bribe from a taxi operator, and in return, appeared in municipal court that same day to request that the court dismiss two tickets that had been issued to the taxi operator by another inspector for violations involving the condition of his vehicle. Holt pleaded guilty also charges that on May 11, 2010, he accepted a $250 payment from the same taxi operator for allowing his cab to pass its annual city vehicle inspection.

The state’s investigation revealed that, in addition to the incidents to which he pleaded guilty, Holt accepted cash bribes from owners and operators of several “stress therapy” and massage businesses on Atlantic and Pacific Avenues in return for refraining from enforcing ordinances and regulations governing the operation of those businesses.