; or (C) an elementary school or secondary school, as such terms are defined in section 8101 of the Elementary and Secondary Education Act of 1965 ( 20 U.S.C. 7801 ). (2) State The term State means each of the 50 States, the District of Columbia, and the Commonwealth of Puerto Rico. (b) Transfer of funds The amount appropriated for Energy Efficiency Improvements and Renewable Energy Improvements at Public School Facilities, as authorized under section 40541 of the Infrastructure Investment and Jobs Act ( 42 U.S.C. 18831 ), under the Infrastructure Investments and Jobs Appropriations Act (division B of Public Law 117–58 ) is transferred to the Attorney General to carry out subsection (c). (c) Grant program for states for school safety and security (1) In general The Attorney General shall use the amount transferred under subsection (b) to award grants to States from allotments under paragraph (2) for each of fiscal years 2023 through 2027. From the amount transferred, $100,000,000 shall be available to be allotted for each fiscal year. (2) State allotments (A) Allotment (i) In general Subject to clauses (ii) and (iii), from the amount available to be allotted for a fiscal year under paragraph (1), the Attorney General shall allot to each State for the fiscal year an amount that bears the same relationship to the amount available as the number of individuals residing in the State who are aged 5 through 17, bears to the number of such individuals residing in all States. (ii) Small state minimum No State receiving an allotment under this subparagraph for a fiscal year shall receive less than 0.75 percent of the total amount allotted under this subparagraph for the fiscal year. (iii) Puerto rico The amount allotted under this subparagraph to the Commonwealth of Puerto Rico for a fiscal year may not exceed 0.75 percent of the total amount allotted under this subparagraph for the fiscal year. (B) Reallotment If a State does not receive an allotment under this paragraph for a fiscal year, the Attorney General shall