National Security Agency surveillance programs helped disrupt plots to bomb the New York Stock Exchange and the New York subway system, an FBI official told Congress on Tuesday.

The official, Deputy Director Sean Joyce, said that the programs also linked an American citizen in Chicago to the 2008 terror attacks on hotels in India and to a plot to bomb the offices of a Danish newspaper that published a cartoon of the Prophet Muhammad.