; or (B) any individual Indian allotment. (c) Hazardous materials (1) In general The Secretary and the State shall make available for review and inspection any record relating to hazardous materials on land to be conveyed under this Act. (2) Certification (A) In general Prior to completing a conveyance of Federal land under this Act, the Secretary shall complete an inspection and a hazardous materials certification of the land to be conveyed. (B) State land grant parcels Prior to completing a conveyance of a State land grant parcel under this Act, the State shall complete an inspection and a hazardous materials certification of the land to be conveyed. (d) Grazing permits (1) In general If land conveyed under this Act is subject to a lease, permit, or contract for the grazing of domestic livestock in effect on the date of the conveyance, the Secretary or the State, as applicable, shall allow the grazing to continue for the remainder of the term of the lease, permit, or contract, subject to the related terms and conditions of the user agreements, including permitted stocking rates, grazing fee levels, access, and ownership and use of range improvements. (2) Cancellation (A) In general Nothing in this Act prevents the Secretary or the State from canceling or modifying a grazing permit, lease, or contract if the land subject to the permit, lease, or contract is sold, conveyed, transferred, or leased for nongrazing purposes. (B) Base properties If land conveyed by the State under this Act is used by a grazing permittee or lessee to meet the base property requirements for a Federal grazing permit or lease, the land shall continue to qualify as a base property for the remaining term of the lease or permit and the term of any renewal or extension of the lease or permit. (C) Range improvements Nothing in this Act prohibits a holder of a grazing lease, permit, or contract from being compensated for range improvements pursuant to the terms of the lease, permit, or contract under existing Federal or State laws. 7. Savings