From the New York Times "The Foreign Intelligence Surveillance Act, or FISA, was enacted in 1978, passed in response to revelations by the Church Committee showing widespread abuse of government wiretaps, and to growing concerns on the part of the Supreme Court over eavesdropping practices. The law governs the surveillance of people in the United States for the purpose of collecting intelligence related to foreign powers. A secret court, known as the Foreign Intelligence Surveillance Court, was created to hear requests for such warrants. Safeguards were put in place to ensure that investigators pursuing criminal matters did not obtain warrants under FISA that they could not get from an ordinary judge."
New York Times