I think you have the CIA and NSA's jurisdictions mixed up there.
Yet I have never been clear on why we need a domestic spy agency given we have the FBI, DEA, Secret Service, DHS, and DOJ who are all actively engaged in monitoring internally. At what point to people start to realize that all of these groups will exist to serve themselves at our own expense?