; or (B) an Indian tribe which performs law enforcement or emergency response functions as determined by the Secretary of the Interior. 3. Termination of Forest Service and Bureau of Land Management Agency law enforcement agencies and law enforcement functions (a) Forest Service Not later than September 30, 2017, the Secretary of Agriculture shall terminate the Forest Service Law Enforcement and Investigations unit and cease using employees of the Forest Service to perform law enforcement functions on Federal land. (b) Department of the Interior Not later than September 30, 2017, the Secretary of the Interior shall terminate the Bureau of Land Management Office of Law Enforcement and cease using employees of the Department of the Interior to perform law enforcement functions on Federal land. (c) Termination of authorization of appropriations Beginning with fiscal year 2018 and each fiscal year thereafter, no amounts are authorized to be appropriated to the Secretary concerned for a covered law enforcement agency or for Federal law enforcement functions on Federal land. (d) No effect on authority To carry firearms Nothing in this Act shall be construed to limit the authority of the Secretary concerned to authorize an employee of the Forest Service or the Bureau of Land Management to carry a firearm for protection while in the field. 4. Block grants to States for enforcement of Federal law on Federal land (a) Grants required