; (2) in section 577 ( 42 U.S.C. 13662 ), by adding at the end the following: (c) State law exception For the purposes of this section, the term illegal use of a controlled substance does not include the use, distribution, possession, sale, or manufacture of marijuana, as defined in section 102 of the Controlled Substances Act ( 21 U.S.C. 802 ), that is in compliance with the law of the State in which such use, distribution, possession, sale, or manufacture takes place. ; (3) in section 579 ( 42 U.S.C. 13664 ), by adding at the end the following: (4) State The term State means— (A) each of the several States of the United States; (B) the District of Columbia; (C) the Commonwealth of Puerto Rico; (D) Guam; (E) American Samoa; (F) the Commonwealth of the Northern Mariana Islands; (G) the Federated States of Micronesia; (H) the Republic of the Marshall Islands; (I) the Republic of Palau; and (J) the United States Virgin Islands. ; and (4) by inserting after section 579 ( 42 U.S.C. 13664 ) the following: 580. Enforcement; smoke-free zones (a) Definition In this section, the term marijuana has the meaning given the term in section 102 of the Controlled Substances Act ( 21 U.S.C. 802 ). (b) Enforcement The Secretary may not prohibit or otherwise discourage any activity involving the use, distribution, possession, sale, or manufacture of marijuana in federally assisted housing that is in compliance with the law of the State in which such activity takes place. (c) HUD smoke-Free zones Not later than 90 days after the date of the enactment of the Marijuana in Federally Assisted Housing Parity Act of 2024 , the Secretary shall issue regulations that restrict smoking marijuana in federally assisted housing in the same manner and same locations as the Secretary restricts smoking tobacco in public housing under subpart G of part 965 of title 24, Code of Federal Regulations (or any corresponding similar regulation). .