From the New York Times:

The measures had been promoted by the State Election Board. The judge called them “illegal, unconstitutional and void.”