The German foreign intelligence agency BND must not store the metadata, such as phone numbers, of international calls for the purpose of intelligence analysis, a court ruled Thursday.
Surveillance is a sensitive issue in Germany because of the abuses by the Gestapo during the Nazi era and the Stasi in Communist East Germany during the Cold War. Whistleblower Edward Snowden's revelations about the United States spying on Germany also caused upset.
Media freedom organization Reporters Without Borders filed a lawsuit in June 2015 against the BND, saying it had breached the organization's secrecy and harmed the partners and reporters it worked with.
"The verdict shows that it pays off when human rights organizations defend themselves against the mass storage of data by the BND," said Christian Mihr, the organization's director in Berlin.
Reporters Without Borders said the court decision would strengthen its work because persecuted reporters from authoritarian states have to rely on their communication with the organization remaining confidential.
Asked about the ruling, the BND said it would wait for the verdict's legal justification to be evaluated.