; and (2) by inserting In the case of an alien who was the child or parent of a citizen of the United States at the time of the citizen’s death, the alien shall be considered, for purposes of this subsection, to remain an immediate relative after the date of the citizen’s death but only if the alien files a petition under section 204(a)(1)(A)(ii) within two years after such date in the case of a parent, or prior to reaching the age of 21 in the case of a child. after remarries. . (b) Petition Section 204(a)(1)(A)(ii) ( 8 U.S.C. 1154(a)(1)(A)(ii) ) is amended by inserting or an alien child or alien parent described in the third sentence of section 201(b)(2)(A)(i) after section 201(b)(2)(A)(i) . (c) Transition period In applying section 201(b)(2)(A)(i) ( 8 U.S.C. 1151(b)(2)(A)(i) ), as amended by subsection (a), in the case of an alien whose citizen relative died before the date of the enactment of this Act, the alien relative may (notwithstanding the deadlines specified in such subsection) file the classification petition referred to in such subsection within 2 years after the date of the enactment of this Act. In the case of an alien who was excluded, deported, removed or departed voluntarily before the date of the enactment of this Act, such alien shall be eligible for parole into the United States pursuant to the Secretary of Homeland Security’s authority under section 212(d)(5) of such Act ( 8 U.S.C. 1182(d)(5) ), and such alien’s application for adjustment of status shall be considered notwithstanding section 212(a)(9) ( 8 U.S.C. 1182(a)(9) ). (d) Adjustment of status Section 245 ( 8 U.S.C. 1255 ) is amended by adding at the end the following: (n) Applications for adjustment of status by surviving spouses, children and parents (1) In general Any alien described in paragraph (2) who applied for adjustment of status prior to the death of the qualifying relative, may have such application adjudicated as if such death had not occurred. (2) Alien described An alien described in this paragraph is an alien who— (A)