; and (5) has received approval from the Secretary to be removed as an active pipeline. (b) Approval Before an operator may place a natural or other gas pipeline facility or hazardous liquid pipeline facility into idled status, the operator must request an approval, in writing, from the Secretary. (c) Extension The Secretary may allow idled natural or other gas pipeline facilities and hazardous liquid pipeline facilities to remain in idled status for a period longer than described in paragraph (a), provided that such request be made in writing and not exceed a period of 5 years for each requested extension. (d) Rulemaking (1) In general Not later than 3 years after the date of enactment of this Act, the Secretary shall promulgate regulations prescribing the applicability of the pipeline safety requirements to idled natural or other gas pipeline facilities and hazardous liquid pipeline facilities. (2) Requirements The regulations promulgated under paragraph (1) shall contain the following requirements: (A) In general The applicability of the regulations under paragraph (1) shall be based on the risk that idled natural or other gas pipeline facilities and hazardous liquid pipeline facilities pose to the public, property, and the environment, and shall include requirements to resume operation. (B) Notification and approval The Secretary shall establish procedures, including a requirement for notification to the public, for requesting an approval, described in subsection (b), and an extension, described in subsection (c), before an operator changes the operating status of a natural or other gas pipeline facility or hazardous liquid pipeline facility. (C) Inspection The Secretary or an appropriate State agency shall inspect each idled natural or other gas pipeline facility or hazardous liquid pipeline facility and verify that the pipeline has been purged of combustibles and hazardous materials. (D) Requirements for reinspection The Secretary shall determine the requirements for periodic reinspection of idled natural