On Thursday, an attorney representing David Miranda told reporters outside a London courtroom that her client had been granted a “limited injunction” to halt the British government’s access to digital data recently seized by local authorities.

Miranda is the partner of Glenn Greenwald, a reporter for The Guardian, who has been at the forefront of exposing documents and other information from former National Security Agency contractor Edward Snowden.

On Sunday, the Brazilian national was acting as a courier from Berlin, where he was visiting Greenwald’s colleague, Laura Poitras. En route home to Rio de Janiero, Miranda transited through Heathrow airport in London, where he was detained and questioned by British authorities for nine hours.

Miranda told the Brazilian newspaper O Globo (Google Translate) that British officials seized “a phone, a computer, a PlayStation Vita, a Wi-Fi device, two watches, an electric razor, and pen drives with information from Poitras to Greenwald.”

“The court accepted today that in order for the home office and police to look at that material, there has to be a genuine threat to national security,” Gwendolen Morgan, Miranda’s lawyer, said. “The home office and police now have seven days to prove that there is a genuine threat to national security rather than make mere assertions as they have done today.”

She added that Miranda would have his items returned as of “midnight on Saturday.”

“We therefore consider this to be a partial victory and we hope to have the court’s full reasoning tomorrow afternoon,” she said.

Reading from an official court document, Morgan said that the Home Office and British police were not to “inspect, copy, disclose, transfer, [or] distribute [the data], whether domestically or to any foreign government or agency,” but that included an exception in the name of “national security.”

Jonathan Laidlaw, an attorney representing the Metropolitan police, described the data to the court as "highly sensitive material the disclosure of which would be gravely injurious to public safety."

There were "tens of thousands" of pages of digital material, Laidlaw added.

On Thursday, Greenwald said on Twitter that he would “be willing to bet anything they have not accessed documents—which isn't the same as saying they no idea what they are.”

He added, “There are lots of other ways for them to think they know what's in there, including monitoring of communications.”

The Guardian journalist also said that Miranda gave up passwords to his phone and his computer. Greenwald also clarified that Miranda did give up passwords to his own personal Facebook and e-mail accounts, “which reveal nothing. They threatened him with prison if he didn't.”