A town justice in New York state’s North Country has resigned after he was found to have posted an image of a noose on social media with a caption that read, in capital letters: “If we want to make America great again, we will have to make evil people fear punishment again.”

The New York State Commission on Judicial Conduct announced Tuesday that the justice resigned while under formal disciplinary charges.