; or (2) has not been operative for more than 60 continuous months after the owner or operator has notified the Secretary of the Interior (for wells drilled to explore for or develop minerals owned by the United States) or the relevant State regulatory agency (for wells drilled to explore for or develop minerals not owned by the United States) that the well has been temporarily shut down. (b) Federal remediation program (1) Establishment of program (A) The Secretary of the Interior, in cooperation with the Secretary of Agriculture, shall establish a program to ensure to the maximum extent feasible the remediation, reclamation, and closure of abandoned wells that— (i) are located on lands administered by an agency of the Department of the Interior or the Forest Service; or (ii) were drilled to explore for or develop minerals owned by the United States located on lands with respect to which the surface estate is not owned by the United States. (B) In implementing the program, the Secretary of the Interior— (i) shall cooperate with the Secretary of Agriculture and the States with respect to the Federal lands covered by the program are located; and (ii) shall consult with the Secretary of Energy and the Interstate Oil and Gas Compact Commission. (C) The Secretary of the Interior shall establish the program by no later than 3 years after the date of enactment of this section. (2) Program elements The program established under paragraph (1) shall— (A) provide for identification of abandoned wells to be covered by the program; (B) establish a means of ranking critical sites for priority in remediation based on potential environmental harm, other land use priorities, and public health and safety