The NSA’s bulk intelligence gathering was authorized by Section 215 of the USA Patriot Act, which is set to expire in June this year.