In the U.S., domestic surveillance orders are issued by a special Foreign Intelligence Surveillance Court (FISC), pursuant to the 1978 Foreign Intelligence Surveillance Act (FISA). The other nations, the UK, Canada, Australia, and New Zealand, have similar restrictive laws in place.
Source