An upstate New York town justice has resigned while under investigation by the New York State Commission on Judicial Conduct for partisan, anti-Muslim and anti-LGBTQ Facebook posts, the commission announced Wednesday.

Kenneth C. Knutsen had served as a justice of the Schoharie Town Court and an associate justice of the Schoharie Village Court since 2002. He is not an attorney.