; (C) adjustment of status application filed under section 245(h); (D) a petition filed under section 101(a)(15)(T); (E) a petition or application referred to under section 101(a)(51) filed by a VAWA self-petitioner; or (F) a petition filed under section 240A(b)(2), or under section 244(a)(3) (as in effect prior to March 31, 1997). . (k) Aging out determinations (1) Section 214(p)(7)(A) of the Immigration and Nationality Act ( 8 U.S.C. 1184(p)(7)(A) ) is amended— (A) by striking unmarried ; and (B) by striking but while it was pending . (2) Section 214(p)(7)(B) of the Immigration and Nationality Act ( 8 U.S.C. 1184(p)(7)(B) ) is amended by striking but while it is pending . (3) Section 245(m)(3) of the Immigration and Nationality Act ( 8 U.S.C. 1255(m)(3) ) is amended— (A) by inserting (A) In general. — before Upon approval ; and (B) by adding at the end the following: (B) Children An alien who seeks to adjust status or obtain an immigrant visa based upon a parent’s application for adjustment of status, and who was under 21 years of age on the date on which such parent applied for adjustment of status, shall continue to be classified as a child for purposes of this paragraph, if the alien attains 21 years of age after such parent's petition was filed. (C) Principal aliens A parent described subparagraph (A) shall continue to be treated as a parent for purposes of this paragraph if the alien child attains 21 years of age after his or her application for status under paragraph (1) of such section is filed. . (l) Effective date The amendments made by this section shall take effect as if enacted as part of the Victims of Trafficking and Violence Protection Act of 2000 ( Public Law 106–386