A person commits an offence who—
elicits or attempts to elicit information about an individual who is or has been—
a member of Her Majesty's forces,
a member of any of the intelligence services, or
a constable,
which is of a kind likely to be useful to a person committing or preparing an act of terrorism, or
publishes or communicates any such information.
It is a defence for a person charged with an offence under this section to prove that they had a reasonable excuse for their action.
A person guilty of an offence under this section is liable—
on conviction on indictment, to imprisonment for a term not exceeding 15 years or to a fine, or to both;
on summary conviction—
in England and Wales or Scotland, to imprisonment for a term not exceeding 12 months or to a fine not exceeding the statutory maximum, or to both;
in Northern Ireland, to imprisonment for a term not exceeding 6 months or to a fine not exceeding the statutory maximum, or to both.
(3A) In subsection (3)(b)(i), in its application to England and Wales, the reference to 12 months is to be read as a reference to the general limit in a magistrates’ court.
In this section “ the intelligence services ” means the Security Service, the Secret Intelligence Service and GCHQ (within the meaning of section 3 of the Intelligence Services Act 1994 (c. 13)).
Schedule 8A to this Act contains supplementary provisions relating to the offence under this section.