— -- President Obama signed legislation reforming the National Security Agency's domestic surveillance program Tuesday, the White House said.
The Senate approved the USA Freedom Act with a vote of 67 to 32, 40 hours after key provisions of the Patriot Act expired.
The NSA shut down its surveillance program late Sunday night after senators failed to reach a deal before the powers expired. The NSA will now restart its surveillance program, a process that will take an entire day, officials said.
The USA Freedom Act ends the government's bulk collection of Americans' phone metadata, instead requiring telecommunications companies to maintain the records. There will be a six-month transition period for the government to move its data to the phone companies. Intelligence officials would then need a court order to query the phone database.
The bill also restores the “lone wolf” and roving wiretaps provisions, which expired Sunday, until 2019.
President Obama indicated he would sign the bill quickly.
The Senate cleared a major procedural hurdle with a vote of 83-14 earlier today, but lawmakers were concerned proposed amendments to the measure would further delay the bill. Senators ultimately rejected all of the amendments to the measure, including extending the transition period; creating a certification process to ensure the telephone companies have the proper technology; and a provision that would strip the bill of a provision requiring the declassification any significant decisions issued by the FISA court. The Foreign Intelligence Surveillance Act (FISA) court oversees requests for surveillance warrants against suspected foreign intelligence agents inside the U.S. by federal law enforcement agencies.
Democrats warned against adding amendments to the measure, saying it could complicate its final passage.
“The Senate should not get into a game where they start adding amendments to this piece of legislation that then requires House consideration again,” White House Press Secretary Josh Earnest said Monday.
“There's no guarantee that you come any closer to putting in place proper surveillance tools and architecture in place for the U.S. if you start to tinker with amendments,” said Rep. Xavier Becerra, D-Calif. “They’re playing with a hand grenade.”
The passage caps off weeks of debate over the future of the surveillance program first exposed by Edward Snowden in 2013. Sen. Rand Paul, R-Ky., was at the center of the fight, forcing the program to expire at midnight Sunday because of his opposition to any of metadata collection of Americans' phone records.
"This is a debate over the Fourth Amendment. This is a debate over your right to be left alone," Paul said today, referring to the amendment that prohibits unreasonable searches and seizures.
The USA Freedom Act would require intelligence officials to obtain a court order from the FISA court in order to query the phone companies’ database.
Any records provided to the government would be limited to so-called "two hops," meaning intelligence officials can access the records of people who received or placed calls to suspected terrorists, even if they're not suspected terrorists themselves. The program under the Patriot Act allowed officials to access information "three hops" removed from terror suspects.
ABC News’ John Parkinson contributed to this report.