The nine-hour detention at Heathrow Airport of an ex-Guardian journalist's partner has been ruled lawful.
David Miranda lives with reporter Glenn Greenwald who has written articles about state surveillance based on leaked documents. At the High Court, Mr Miranda claimed his detention under anti-terrorism laws was unlawful and breached human rights. But judges said it was a "proportionate measure in the circumstances" and in the interests of national security.
What is Schedule 7?
Police officers do not need to have a "reasonable suspicion" that someone is involved in terrorism before they are stopped
A passenger can be held for questioning for up to nine hours and must give the examining officer any information requested