A federal judge has ruled that the “wholesale collection of the phone record metadata” of all U.S. citizens — a program exposed by former NSA contractor Edward Snowden — likely violates the 4th Amendment and is unconstitutional.

In the decision, Judge Leon rules that the plaintiff challenging the bulk collection of U.S. phone records, legal activist and Judicial Watch founder Larry Klayman, have “demonstrated a substantial likelihood of succession the merits of their Fourth Amendment claims, and that they will suffer irreparable harm absent preliminary injunctive relief.”