The clash on Capitol Hill undercut President Obama’s assurances that Congress had fully understood the dramatic expansion of government power it authorized repeatedly over the past decade.

Top Obama administration officials countered that the once-secret program was legal and necessary to keep America safe. And they left open the possibility that they could build similar databases of people’s credit card transactions, hotel records, and Internet searches.

WASHINGTON — In a heated confrontation over domestic spying, members of Congress said Wednesday they never intended to allow the National Security Agency to build a database of every phone call in America. And they threatened to curtail the government’s surveillance authority.


The House Judiciary Committee hearing also represented perhaps the most public, substantive congressional debate on surveillance powers since the 9/11 terrorist attacks. Previous debates have been largely theoretical and legalistic, with officials in the Bush and Obama administrations keeping the details hidden behind the cloak of classified information.

That changed last month when former government contractor Edward Snowden leaked documents to the Guardian revealing the NSA collects every American’s phone records, knowing that the overwhelming majority of people have no ties to terrorism.

Civil rights groups have warned for years the government would use the US Patriot Act to conduct such wholesale data collection. The government denied it.

The Obama administration says it needs a library of everyone’s phone records so that when it finds a suspected terrorist, it can search its archives for the suspect’s calling habits. The administration says the database was authorized under a provision in the Patriot Act that Congress hurriedly passed after 9/11 and reauthorized twice.

The sponsor of that bill, Representative James Sensenbrenner, a Republican from Wisconsin, said Wednesday that Congress meant only to allow seizures directly relevant to national security investigations. No one expected the government to obtain every phone record and store them in a huge database to search later.


As Deputy Attorney General James Cole explained why that was necessary, Sensenbrenner cut him off and reminded him that his surveillance authority expires in 2015.

‘‘And unless you realize you’ve got a problem,’’ Sensenbrenner said, ‘‘that is not going to be renewed.’’

He was followed by Representative Jerry Nadler, a New York Democrat, who picked up where his colleague left off. The problem, he said, is that the administration considers ‘‘everything in the world’’ relevant to fighting terrorism.

After the phone surveillance became public, Obama assured Americans Congress was well aware of what was going on.

‘‘When it comes to telephone calls, every member of Congress has been briefed on this program,’’ he said.

Whether lawmakers willingly kept themselves in the dark or were misled, it was apparent Wednesday that one of the key oversight bodies in Congress remained unclear about the scope of surveillance.

The Judiciary Committee’s senior Democrat, Representative John Conyers of Michigan, noted that the panel had ‘‘primary jurisdiction’’ over the surveillance laws that were the foundation for the NSA programs. Yet one lawmaker, Representative Ted Poe, a Texas Republican, said some members of Congress would not have known about the NSA surveillance without the sensational leaks: ‘‘Snowden, I don’t like him at all, but we would never have known what happened if he hadn’t told us.’’

The NSA says it only looks at numbers as part of narrow terrorism investigations, but that doesn’t tell the whole story.


For the first time, NSA Deputy Director John C. Inglis disclosed that the agency sometimes conducts what is known as three-hop analysis. That means the government can look at the phone data of a suspected terrorist, plus the data of all of the contacts, then all of those people’s contacts, and all of those people’s contacts.

If the average person calls 40 unique people, three-hop analysis could allow the government to mine the records of 2.5 million Americans when investigating one suspected terrorist.

Representative Randy Forbes, a Republican from Virginia, said such a huge database was ripe for government abuse. When Inglis said there was no evidence of that, Forbes interrupted: ‘‘I said I wasn’t going to yell at you and I’m going to try not to. That’s exactly what the American people are worried about,’’ he said. ‘‘That’s what’s infuriating the American people. They’re understanding that if you collect that amount of data, people can get access to it in ways that can harm them.’’

The government says it stores everybody’s phone records for five years. Cole explained that because the phone companies do not keep records that long, the NSA had to build its own database.