Emergency laws are being rushed through Parliament to give police and security services the power to continue accessing phone an internet records.
The new legislation outlines to the companies that provide us with telephone and internet connections a legal obligation to retain "communications data" on their customers. This information includes things like logs of when calls were made, what numbers were dialled, and other information that can be used, the government says, in investigations. It does not include the content of the communications.
Prime Minister David Cameron has secured the backing of all three main parties for the highly unusual move.
He said urgent action was needed to protect the public from "criminals and terrorists" after the European Court of Justice struck down existing powers.