The U.S. Court of Appeals for the D.C. Circuit ruled Tuesday that a federal judge should unseal electronic surveillance records in closed investigations, in a win for advocates seeking access to the court records.

The opinion stems from a 2013 petition from BuzzFeed News reporter Jason Leopold, which the Reporters Committee for Freedom of the Press later joined, seeking to unseal court documents on electronic surveillance tools such as pen registers in shuttered federal investigations.