A justice from a town outside Rochester has resigned after pleading guilty to taking at least $3,000 in court funds from the town and other money she was not entitled to, the state Commission on Judicial Conduct said Tuesday.

Erika Martin, who is not an attorney, agreed to never seek judicial office again after pleading guilty to two felonies and a misdemeanor related to the crimes earlier this year. She was a justice of the Manchester Town Court in Ontario County.