; and (2) a period of 30 days has elapsed following the date on which the Commandant submits such notification. (d) Waiver (1) Authority The Commandant may waive the limitation under subsection (c) if the Commandant determines such a waiver is necessary as a result of extraordinary circumstances that affect the national security of the United States. (2) Notification to Congress Not later than 2 days after issuing a waiver under paragraph (1), the Commandant shall submit to the congressional intelligence committees written notice and justification for the waiver. (e) National Intelligence Program defined In this section, the term National Intelligence Program has the meaning given that term in section 3 of the National Security Act of 1947 ( 50 U.S.C. 3003 ). 417. Intelligence Community Counterintelligence Offices (a) Establishment of offices (1) Agreements with departments and agencies The Director of National Intelligence, acting through the Director of the National Counterintelligence and Security Center, shall seek to enter into an agreement with the head of a designated Federal department or agency under which the Director of National Intelligence and the head of the designated Federal department or agency shall establish within the designated Federal department or agency an office, which shall be known as an Intelligence Community Counterintelligence Office , in accordance with this section. (2) Location Each office established under this subsection within a department or agency shall be physically located within the headquarters of the department or agency and within reasonable proximity to the offices of the agency or departmental leadership. (3) Security The Director of the National Counterintelligence and Security Center shall be responsible for the protection of classified information and for the establishment and enforcement of all security-related controls within an Intelligence Community Counterintelligence Office. (b) Personnel (1) Director (A) Appointment The head of an Intelligence Community