RIO DE JANEIRO (AP) — An American journalist who has written stories based on documents leaked by former National Security Agency contractor Edward Snowden said Monday he'll publish with more fervor after British authorities detained his partner.
London police detained David Miranda, who is in a civil union with reporter Glenn Greenwald, under anti-terror legislation at Heathrow Airport in London airport Sunday. Miranda arrived Monday in Rio de Janeiro, where he lives with Greenwald.
A defiant Greenwald promised he was going ‘‘to write much more aggressively than before’’ about government snooping.
‘‘I'm going to publish many more things about England, as well,’’ he said in Portuguese at Rio’s international airport when Miranda arrived. ‘‘I have many documents about England’s espionage system, and now my focus will be there, too. I think they'll regret what they've done.’’
In Washington, White House spokesman Josh Earnest said the US government was tipped off by UK counterparts that Miranda would be detained, but that the US had not requested the action. The Brazilian government objected to Miranda’s detention, saying it wasn’t based on any real threat.
Miranda said he wasn’t threatened while detained at Heathrow, but confirmed that personal objects were taken from him.
‘‘I stayed in a room, there were six different agents, entering and leaving, who spoke with me,’’ he said. ‘‘They asked questions about my whole life, about everything. They took my computer, video game, cellphone, memory thumb drives, everything.’’
In London, a British lawmaker called for police to explain why Miranda had been detained and why it took nearly nine hours to question him.
Miranda was held for nearly the maximum time that British authorities are allowed to detain individuals under the Terrorism Act’s Schedule 7, which authorizes security agencies to stop and question people at borders.
‘‘What needs to happen pretty rapidly is we need to establish the full facts,’’ Keith Vaz, chairman of Parliament’s Home Affairs Select Committee, told the BBC.
‘‘Now you have a complaint from Mr. Greenwald and the Brazilian government — they indeed have said they are concerned at the use of terrorism legislation for something that does not appear to relate to terrorism. So it needs to be clarified, and clarified quickly.’’
Vaz said it was ‘‘extraordinary’’ that police knew that Miranda was Greenwald’s partner and that the authorities were targeting partners of people involved in Snowden’s disclosures.
Britain’s laws are not unique. US customs officials can search the electronic devices of anyone entering the US without a search warrant. According to a 2011 internal Homeland Security Department report, officers at the border can search the devices and in some cases hold on to them for weeks or months. The DHS has said such searches help law enforcement detect child pornographers or terrorists.
Greenwald has written about NSA surveillance programs based on files disclosed by Snowden, who now has temporary asylum in Russia. The Obama administration wants Snowden sent back to the United States to be tried for the leaks.
Miranda, a 28-year-old university student, was traveling home to Brazil after visiting Germany, where he met with Laura Poitras, a US filmmaker who has worked with Greenwald on the NSA stories.
British police acknowledged that they had detained a 28-year-old man at 8:05 a.m. He was released at 5 p.m. without being arrested, the Metropolitan Police Service said. They have not commented further. The British Home Office didn’t comment.
A spokesman for Prime Minister David Cameron said that ‘‘Schedule 7 forms an essential part of the UK’s border security arrangements,’’ but added that it was for the police to decide ‘‘when it is necessary and proportionate to use these powers.’’
The Guardian newspaper reported it paid for Miranda’s flights but said that he was not an employee of the newspaper.
‘‘As Glenn Greenwald’s partner, he often assists him in his work,’’ the newspaper said in statement. ‘‘We would normally reimburse the expenses of someone aiding a reporter in such circumstances.’’
In an email Monday to The Associated Press, Greenwald said he needed material from Poitras for stories he was working on with her relating to the NSA, and that he had things that she needed.
‘‘David, since he was in Berlin, helped with that exchange,’’ Greenwald wrote.
Greenwald didn’t specify what material Miranda may have been carrying. He said that only he and Poitras ‘‘have copies of the full archives of NSA documents which Snowden gave to journalists.’’
David Anderson, Britain’s official independent reviewer of terrorism legislation, said he had asked authorities to explain why Miranda was detained and held for so long.
In most cases, those questioned under Schedule 7 are detained for less than an hour.
‘‘It is such a wide power that it would be surprising if it was used perfectly on every occasion,’’ Anderson told the BBC. ‘‘It is a very extensive power and this just points up the need to have it properly controlled.’’
Kirka reported from London. Associated Press writer Alicia Caldwell contributed from Washington.