; (2) by redesignating subsections (f) through (i) as subsections (g) through (j), respectively; (3) by inserting after subsection (e) the following: (f) Subsequent leasing programs (1) In general Not later than 36 months after conducting the first lease sale under an oil and gas leasing program prepared pursuant to this section, the Secretary shall begin preparing the subsequent oil and gas leasing program under this section. (2) Requirement Each subsequent oil and gas leasing program under this section— (A) shall be approved not later than 180 days before the expiration of the previous oil and gas leasing program; and (B) shall contain a minimum of 5 lease sales. ; and (4) by conforming the margin of subsection (j) (as so redesignated) to the margin of subsection (i) (as so redesignated). (c) Lease or permit cancellation (1) In general Section 5(a)(2) of the Outer Continental Shelf Lands Act ( 43 U.S.C. 1334(a)(2) ) is amended— (A) in the matter preceding subparagraph (A), by striking any lease or permit— and all that follows through the end of subparagraph (B) and inserting the following: any lease or permit— (A) that the lease or permit shall be considered to be valid and not subject to cancellation by the Secretary for any reason, except for— (i) the express written agreement to the cancellation by the lessee or permittee; or (ii) a determination by the Secretary that cancellation is appropriate (including cancellation under subsection (c), section 8(o), section 11(c)(1), and subsections (h)(2)(C) and (j) of section 25), in accordance with the regulations prescribed under this section, subject to the limitation that a lease or permit may not be cancelled by the Secretary based on a finding by a Federal court that the environmental review for the lease sale pursuant to which the lease was issued was in violation of the National Environmental Policy Act of 1969 ( 42 U.S.C. 4321 et seq. ); and