The underlying event was bombing of a CIA office. The fact that the government had conducted surveillance without a warrant complicated the government's case.
Within this opinion are a few items worth noting. Two in particular:
FISA creates a crime for activity SCOTUS views as a constitutional prerogative of the president. There is a good argument that the statute is unconstitutional because it criminalizes constitutionally-protected conduct.
Thanks for the correction.