Considering the issues of "bulk interception of communications, intelligence sharing and obtaining of communications data from communications service providers", the court found that GCHQ violated article 8 of the European convention on human rights.
The British surveillance program was first revealed by Edward Snowden, the former US defense contractor who leaked similar information about the National Security Agency in 2013.
The mass surveillance programmes, revealed by former NSA employee Edward Snowden, were deemed not to meet the criteria for proportionate surveillance in a democratic society.
'The Court has put down a marker that the United Kingdom government does not have a free hand with the public's communications and that in several key respects the UK's laws and surveillance practices have failed, ' adds Dan Carey, the solicitor representing the applicants in the case.
The ECHR noted that "safeguards were not sufficiently robust to provide adequate guarantees against abuse", and said it was particularly concerned that GCHQ can search and examine citizens' "related communications data" - such as location data and IP addresses - without restriction.
Teenager killed as 'gas explosions' set homes ablaze
In a release dated Thursday the company had said it would "be upgrading natural gas lines in neighborhoods across the state". The National Transportation Safety Board was sending a team to investigate, saying pipelines are within its jurisdiction.
The Apple Watch is inching toward becoming a medical device
They hit stores on September 21, 2018 with the iPhone XS priced at $999 (£999) and the XS Max a whopping $1,099 (£1,099). Apple's desire to "kill" the headphone jack has been clear since it first removed the port from the iPhone 7 in 2016.
Silkie Carlo, director of Big Brother Watch, said the ruling "vindicates Mr. Snowden's courageous whistleblowing".
When it came to requests for data from communications service providers under Chapter II, the Court noted that the relevant safeguards only applied when the goal of such a request was to uncover the identity of a journalist's source.
However, the court ruled that GCHQ had not broken European human rights law by using data gathered by USA spies, as the safeguards around those procedures were sufficient.
Ruling on a case brought by a group of journalists and NGOs, the European Court of Human Rights in Strasbourg, France, said the surveillance was a violation of the right to privacy and freedom of information enshrined in the European Convention on Human Rights.
The UK's mass surveillance program is in violation of human rights, the European Court of Human Rights has declared.
The court said individual countries "enjoy a wide margin of appreciation in choosing how best to achieve the legitimate aim of protecting national security" and that "the decision to operate a bulk interception regime in order to identify hitherto unknown threats to national security is one which continues to fall within states' margin of appreciation".
The case centred on complaints about powers given to security services under the Regulation of Investigatory Powers Act 2000, which has since been replaced.
A government spokeswoman said it would give "careful consideration" to the judgement - but added that new safeguards were already in place.
Bengals' A.J. Green scores three TDs - in 17 minutes
They couldn't, allowing quarterback Andy Dalton to attempt throws he never would have tried if Mosley were back there. Bengals: Preston Brown was inactive with an injured right ankle, leaving Cincinnati without two top linebackers.
Jamie Murray: Serena US Open sexism claims far-fetched
Williams was fined $17,000 , which is deducted from her prize money of $1.85 million as the tournament's runner-up. Williams became upset when accused of receiving coaching and smashed her racket before berating Ramos .
Hurricane Florence: North Carolina residents urged to leave
Hurricane-force winds extend outward up to 80 miles from the center and tropical-storm-force winds extend outward up to 195 miles. Utility officials have warned that widespread power outages are likely and that it could take weeks to restore electricity.
Paul Manafort may have struck a deal with Robert Mueller
Trump discussed a possible pardon for Manafort with his lawyers earlier this summer, attorney Rudy Giuliani has told NPR . Negotiations have been underway between his lawyers and the office of Justice Department special counsel Robert Mueller .
Tropical Storm Isaac expected to regain hurricane strength
Tropical Storm Isaac , located 775 miles east of the Lesser Antilles, is moving towards the west near 16 miles per hour (mph). Rain projections also increased, with some locations along the North Carolina coast now expected to get up to 40 inches.