A justice of the Waterford Town Court in Saratoga County has resigned while under investigation for alleged nepotism, a New York state disciplinary panel announced on Wednesday.