; (2) location, entry, and patent under the mining laws; and (3) disposition under all laws pertaining to mineral and geothermal leasing or mineral materials. (f) Cooperative agreements In carrying out this section, the Secretary may enter into cooperative agreements with State, Tribal, and local governmental entities and private entities to complete the trail construction, reconstruction, and realignment authorized by subsection (d). (g) Boundaries The Secretary shall modify the boundary of the potential wilderness area to exclude any area within 50 feet of the centerline of the new location of any trail that has been constructed, reconstructed, or realigned under subsection (d). (h) Wilderness designation (1) In general The potential wilderness area, as modified under subsection (g), shall be designated as wilderness and as a component of the National Wilderness Preservation System on the earlier of— (A) the date on which the Secretary publishes in the Federal Register notice that the trail construction, reconstruction, or alignment authorized by subsection (d) has been completed; and (B) the date that is 20 years after the date of enactment of this Act. (2) Administration of wilderness On designation as wilderness under this section, the potential wilderness area shall be— (A) incorporated into the San Rafael Wilderness, as designated by Public Law 90–271 (82 Stat. 51), the California Wilderness Act of 1984 ( Public Law 98–425 ; 16 U.S.C. 1132 note), and the Los Padres Condor Range and River Protection Act ( Public Law 102–301 ; 106 Stat. 242), and section 3