Parts of a state ethics law passed in New York three years ago to compel tax-exempt organizations involved in issue advocacy campaigns to disclose their financial supporters was struck down this week by a federal judge, who said the provisions violated the First Amendment.

U.S. District Judge Denise Cote of the Southern District of New York wrote in a decision handed down late Monday that the law couldn’t survive a measure against the right to free speech.