The FBI is in the Domestic spying business.
As well as counterintelligence.
The FBI has been responsible for identifying and neutralizing ongoing national security threats from foreign intelligence services since 1917