A Western New York judge who was accused of pocketing more than $6,000 in court monies has agreed to resign after more than two decades on the bench for a town court in Cayuga County, according to the state’s judicial watchdog.

June Shepardson, who is not an attorney and who has served as a justice for the Moravia town and village courts since 2001, agreed to step down in a stipulation co-signed by the State Commission on Judicial Conduct in which she also said she would never again run for judicial office.