The High Court has ruled that emergency data retention and surveillance legislation the coalition government introduced last year is unlawful.
The law is the latest government and intelligence legislation to be deemed illegal.
The Data Retention and Investigatory Powers Act, DRIPA must now be overturned because judges ruled it is inconsistent with the existing EU laws. The government must replace the law by the end of March 2016.
The ruling will be seen as a victory for Labour MP Tom Watson and the Conservative MP David Davis who brought the claim. The two had argued that the law violates article 8 of the EU human rights and lets police and intelligence services to spy on citizens without proper safeguards.