; and (2) by inserting after subsection (f) the following: (g) (1) Effective beginning with the 2020 decennial census of population, in taking any tabulation of total population by States under subsection (a) for purposes of the apportionment of Representatives in Congress among the several States, the Secretary shall, with respect to an individual incarcerated in a State, Federal, county, or municipal correctional center as of the date on which such census is taken, attribute such individual to such individual’s last place of residence before incarceration. (2) In carrying out this subsection, the Secretary shall consult with each State department of corrections to collect the information necessary to make the determination required under paragraph (1). . XI Gun Violence 11001. Definitions of intimate partner and misdemeanor crime of domestic violence expanded Section 921(a) of title 18, United States Code, is amended— (1) in paragraph (32)— (A) by striking and an individual and inserting an individual ; and (B) by inserting , or a dating partner (as defined in section 2266) or former dating partner before the period at the end; and (2) in paragraph (33)(A)(ii)— (A) by striking or by and inserting by ; and (B) by inserting , or by a dating partner (as defined in section 2266) or former dating partner of the victim before the period at the end. 11002. Unlawful sale of firearm to a person subject to court order Section 922(d)(8) of title 18, United States Code, is amended to read as follows: (8) is subject to a court order described in subsection (g)(8); or . 11003. List of persons subject to a restraining or similar order prohibited from possessing or receiving a firearm expanded Section 922(g)(8) of title 18, United States Code, is amended— (1) in the matter preceding subparagraph (A), by striking that