; and (B) for payments to the Secretary of the Interior to provide assistance to Bureau-funded schools. (2) Use of reserved funds In each fiscal year, the amount reserved under paragraph (1) shall be divided between the uses described in subparagraphs (A) and (B) of such paragraph in the same proportion as the amount reserved under section 1121(a) of the Elementary and Secondary Education Act of 1965 ( 20 U.S.C. 6331(a) ) is divided between the uses described in paragraphs (1) and (2) of such section 1121(a) in such fiscal year. (b) Allocation to States (1) State-by-State allocation Of the amount appropriated to carry out this title for each fiscal year pursuant to section 311(a), and not reserved under subsection (a), each State shall be allocated an amount in proportion to the amount received by all local educational agencies in the State under part A of title I of the Elementary and Secondary Education Act of 1965 ( 20 U.S.C. 6311 et seq.) for the previous fiscal year relative to the total amount received by all local educational agencies in every State under such part for such fiscal year. (2) State administration A State may reserve up to 1 percent of its allocation under paragraph (1) to carry out its responsibilities under this title, which include— (A) providing technical assistance to local educational agencies; (B) developing a database that includes an inventory of public school facilities in the State, including for each, its design, condition, modernization, renovation and repair needs, usage, utilization, energy use, and carbon footprint