; and (2) by adding at the end the following new paragraph: (2) With respect to eligibility for benefits for the designated Federal program defined in paragraph (3)(C) (relating to the Medicaid program), paragraph (1) shall not apply to any individual who lawfully resides in 1 of the 50 States or the District of Columbia in accordance with the Compacts of Free Association between the Government of the United States and the Governments of the Federated States of Micronesia, the Republic of the Marshall Islands, and the Republic of Palau and shall not apply, at the option of the Governor of Puerto Rico, the Virgin Islands, Guam, the Northern Mariana Islands, or American Samoa as communicated to the Secretary of Health and Human Services in writing, to any individual who lawfully resides in the respective territory in accordance with such Compacts. . (g) Child health insurance program Section 2107(e)(1) of the Social Security Act ( 42 U.S.C. 1397gg(e)(1) ) is amended— (1) by striking subparagraph (O); and (2) by redesignating subparagraphs (P), (Q), (R), (S), (T), and (U) as subparagraphs (O), (P), (Q), (R), (S), and (T). (h) Conforming amendments (1) Supplemental food assistance program The Food and Nutrition Act of 2008 ( 7 U.S.C. 2011 et seq. ) is amended— (A) in section 5— (i) by striking subsection (i); and (ii) by redesignating subsections (j) through (n) as subsections (i) through (m), respectively; (B) in section 6— (i) in subsection (f), by striking an alien lawfully admitted for permanent and all that follows through the end of the subsection and inserting a noncitizen lawfully present in the United States. ; and (ii) in subsection (s)(2), by striking (m), and (n) and inserting and (m)