; and (ii) terminate on the date on which all such visas are exhausted. (4) Protection of aliens The Secretary of State, in consultation with the head of any other appropriate Federal agency, shall make a reasonable effort to provide an alien who is seeking status as a special immigrant or requesting classification and referral as a refugee under this section, or an amendment made by this section, protection or to immediately remove such alien from Afghanistan, if possible. (5) Other eligibility for immigrant status No alien shall be denied the opportunity to apply for admission under this section, or an amendment made by this section, solely because the alien qualifies as an immediate relative or is eligible for any other immigrant classification. (6) Resettlement support A citizen or national of Afghanistan who is admitted to the United States as a special immigrant under this section or an amendment made by this section shall be eligible for resettlement assistance, entitlement programs, and other benefits available to refugees admitted under section 207 of such Act ( 8 U.S.C. 1157 ) to the same extent, and for the same periods of time, as such refugees. (7) Adjustment of status for special immigrants in certain circumstances Notwithstanding paragraph (2), (7), or (8) of subsection (c) of section 245 of the Immigration and Nationality Act ( 8 U.S.C. 1255 ), the Secretary of Homeland Security may adjust the status of an alien described in subparagraph (N) of section 101(a)(27) of the Immigration and Nationality Act ( 8 U.S.C. 1101(a)(27) ) or subsection (a)(2) of this section to that of an alien lawfully admitted for permanent residence under subsection (a) of such section 245 if the alien— (A) was— (i) paroled into the United States during the period beginning on July 30, 2021, and ending on the date of enactment of this Act, provided that such parole has not been terminated by the Secretary of Homeland Security upon written notice; or (ii) admitted as a nonimmigrant into the United States