; or (ii) a child adopted by an alien permanent partner while under the age of 16 years if the child has been in the legal custody of, and has resided with, such adoptive parent for at least 2 years and if the child was under the age of 18 at the time the permanent partnership was formed. . (b) Title III Section 101(c) of the Immigration and Nationality Act ( 8 U.S.C. 1101(c) ) is amended— (1) in paragraph (1), by inserting or as described in subsection (b)(1)(H) after The term child means an unmarried person under twenty-one years of age ; and (2) in paragraph (2), by inserting or a deceased permanent partner of the deceased parent, father, or mother, after deceased parent, father, and mother . 203. Numerical limitations on individual foreign states (a) Per country levels Section 202(a)(4) of the Immigration and Nationality Act ( 8 U.S.C. 1152(a)(4) ) is amended— (1) in the paragraph heading, by inserting , permanent partners, after spouses ; (2) in the heading of subparagraph (A), by inserting , permanent partners, after spouses ; and (3) in the heading of subparagraph (C), by striking and daughters and inserting without permanent partners and unmarried daughters without permanent partners . (b) Rules for chargeability Section 202(b)(2) of such Act ( 8 U.S.C. 1152(b)(2) ) is amended— (1) by inserting or permanent partner after spouse each place it appears; and (2) by inserting “or permanent partners” after “husband and wife”. 204. Allocation of immigrant visas (a) Preference allocation for sons and daughters of citizens Section 203(a)(3) of the Immigration and Nationality Act ( 8 U.S.C. 1153(a)(3) ) is amended— (1) in the heading, by inserting and daughters and sons with permanent partners after daughters