; (B) granting humanitarian, immigration, and citizenship benefits; (C) promoting an awareness and understanding of citizenship; and (D) ensuring the integrity of the United States immigration system. . 312. Automatic registration of eligible individuals (a) Definitions In this section and section 313: (1) Automatic registration system The term automatic registration system means a system developed by a State that— (A) except as provided in subparagraph (B), registers all newly naturalized individuals to vote in elections for Federal office conducted in such State by transferring the information necessary for voter registration from the Department of Homeland Security to the State voter registration database; and (B) excludes from registration— (i) any individual who affirmatively declines to be registered; and (ii) any individual who is determined to be ineligible for registration. (2) Newly naturalized citizen The term newly naturalized citizen means an individual who— (A) has an approved application for naturalization as a United States citizen; (B) has taken the oath described in section 337 of the Immigration and Nationality Act ( 8 U.S.C. 1448 ); and (C) has received a certificate of naturalization under section 338 of such Act ( 8 U.S.C. 1449 ). (3) Secretary The term Secretary means the Secretary of Homeland Security. (b) Automatic registration system for the newly naturalized (1) In general The chief election official of each State shall establish and operate an automatic registration system for newly naturalized citizens to vote in elections for Federal office conducted in the State, in accordance with this section. (2) Use of department of homeland security records The chief election official of each State shall— (A) upon receiving information from the Secretary about a newly naturalized citizen who has not declined voter registration— (i) ensure that such individual fulfills any local or State qualifications to register to vote relating to legal competency and past criminal convictions