In 1978, Congress passed the Foreign Intelligence Surveillance Act after hearings exposed the F.B.I.’s egregious practice of illegally spying on civil rights leaders, black nationalists, Communists and Vietnam War protesters.