The US Senate on Thursday passed a Bill to renew the National Security Agency’s warrantless internet surveillance programme for six years with minimal changes, overcoming objections from civil liberties advocates that it undermined the privacy of citizens.

The legislation, which easily passed the House of Representatives last week, is expected to be signed into law by president Donald Trump by Friday.

Thursday’s 65-34 passage in the senate was largely a foregone conclusion, after senators earlier this week cleared a 60-vote procedural hurdle, which split party lines and came within one vote of failing.

Passage of the legislation marked a disappointing end to a years-long effort by a coalition of liberal Democrats and libertarian-leaning Republicans to redefine the scope of US intelligence collection following the 2013 disclosures of classified surveillance secrets by former NSA contractor Edward Snowden.

The bill reauthorises what is known as Section 702 of the Foreign Intelligence Surveillance Act, which gathers information from foreigners overseas but incidentally collects an unknown amount of communications belonging to Americans.

Under Section 702, the NSA is empowered to eavesdrop on vast amounts of digital communications via US companies such as Facebook Inc, Verizon Communications Inc and Alphabet Inc’s Google.

But the programme also incidentally scoops up Americans’ communications, including when they communicate with a foreign target living overseas. Intelligence analysts can then search those messages without a warrant.

The White House, US intelligence agencies and congressional Republican leaders said the programme was indispensable to national security.

Opponents of the programme said it allowed the NSA and other intelligence agencies to grab data belonging to Americans in a way that represents an affront to the US constitution.

The bill passed by congress does add a narrow warrant requirement for cases where the Federal Bureau of Investigation seeks emails related to an existing criminal investigation that has no relevance to national security. Privacy advocates said that essentially gave more protections to criminal suspects than ordinary Americans caught up in the programme’s surveillance. – Reuters