A bipartisan team of U.S. lawmakers has introduced new legislation intended to curb the FBI’s sweeping surveillance powers, saying the bill helps close the loopholes that allow officials to seize Americans’ data without a warrant.

The bill follows more than a decade of debate over post-Sept. 11, 2001, surveillance powers that allow domestic law enforcement to warrantlessly scan the vast mountains of data gathered by America’s foreign surveillance apparatus.