WASHINGTON (AP) — House libertarians and liberals joined in a surprise win against the secretive National Security Agency, securing support for new curbs on government spying a year after leaker Edward Snowden's disclosures about the bulk collection of millions of Americans' phone records.

The Republican-led House voted late Thursday to add the limits to a $570 billion defense spending bill. The provision, which faces an uncertain fate in the Senate, would bar warrantless collection of personal online information and prohibit access for the NSA and CIA into commercial tech products.

One supporter said, "The American people are sick of being spied on."

The House also endorsed several new roadblocks to President Barack Obama's effort to close the U.S. prison at Guantanamo Bay, Cuba.

The House is expected to pass the bill Friday.

More From WIBX 950