; and (ii) is eligible to be granted that status but for application of the per country limitations applicable to immigrants under those paragraphs, may apply for, and the Attorney General may grant, an extension of such nonimmigrant status until the alien’s application for adjustment of status has been processed and a decision made thereon. (B) The children, accompanying or following to join, an alien described in (A) shall be eligible to apply for and receive an extension of their nonimmigrant status, regardless of their age, so long as— (i) the parent of a minor described in (A) maintains their nonimmigrant status; and (ii) the alien was under 18 years of age when they were first granted nonimmigrant status as an alien accompanying or following to join, the nonimmigrant parent. . (2) Section 203(h) of the Immigration and Nationality Act ( 8 U.S.C. 1153(h) ) is amended by inserting at the end of the paragraph: (5) Notwithstanding paragraph (1), a determination of whether an alien described under section 204(g)(4)(B) satisfies the age requirement for purposes of a derivative visa or adjustment of status application under paragraph (1), (2), or (3) of section 203(b) of the of the Immigration and Nationality Act shall be made using the age of the alien on the date the petitioner files a petition on behalf of the parent beneficiary with the Secretary of Homeland Security (or the Secretary of State, if applicable), unless the filing of the petition was preceded by the filing of a labor certification with the Secretary of Labor, in which case that date shall be used to identify the age. . 111. Extension of the application period for certain aliens present in the United States for adjustment of status Section 245(i) of the Immigration and Nationality Act ( 8 U.S.C. 1255(i) ) is amended— (1) in paragraph (1)— (A) in subparagraph (A), in the undesignated matter following clause (ii), by striking the semicolon and inserting ; and