A federal appeals court recently ruled that the National Security Agency's bulk collection of Americans' phone records is illegal. The case was based on a lawsuit brought by the ACLU, and it's just one of many challenges to to government surveillance and secrecy. Here's a rundown of key suits. Are we missing any important cases? Email us or leave a comment below.

Correction: An earlier version of this post said an ACLU FOIA suit was combined with a New York Times FOIA suit, and both lost in federal court. In fact, that ruling only addressed the single document in common, a classified report to congressional intelligence committees from the Attorney General and the Director of National Intelligence. The rest of the ACLU suit, seeking documents related to the legal justification for mass collection of metadata, remains ongoing.