A town justice in Rockland County charged with running for municipal office without first relinquishing his judicial position and giving false testimony in proceedings for a lawsuit to challenge his candidacy has agreed to resign, a judicial ethics watchdog announced.

The Commission on Judicial Conduct said that, in addition to complaints arising from his nomination to run for town supervisor in Clarkstown, Clarkstown Town Court Justice Scott Ugell was also under investigation for allegations that he presided over a landlord-tenant matter without disclosing that a lawyer working on the case had previously represented him in an unrelated civil case.