Former Chester County Judge Michael Cabry has pleaded guilty to charges related to gambling with campaign funds, Pennsylvania Attorney General Josh Shapiro announced Wednesday.

Cabry, 60, of Coatesville entered his plea in the Chester County Court of Common Pleas before Berks County Senior Judge Stephen Lieberman, who presided over the case to prevent a conflict of interests. Cabry was charged by an investigating statewide grand jury in October of last year.