; or (ii) attach reasonable conditions to prevent the misuse of qualifying money. (2) Secretary of Education (A) In General The Secretary of Education shall allocate funds described in paragraphs (2) and (3) of subsection (d) directly to each local educational agency in the State in which the intended student beneficiaries of the qualifying money were located. (B) Amount of allocations The Secretary of Education shall allocate funds described in paragraphs (2) and (3) of subsection (d) to each local educational agency in the State in an amount that bears the same relationship to the total funds described in paragraphs (2) and (3) of subsection (d) for that State as the amount of funds under part A of title I of the Elementary and Secondary Education Act of 1965 ( 20 U.S.C. 6311 et seq.) that the local educational agency received for the most recent fiscal year for which data are available to the Secretary of Education bears to the total amount of funds under that part for all local educational agencies in that State for that year. (f) Use of funds Any funds allocated to a local educational agency under this section shall be distributed to schools and otherwise used in a manner consistent with part A of title I of the Elementary and Secondary Education Act of 1965 ( 20 U.S.C. 6311 et seq.). Any school receiving funds under this section shall use such funds in a manner consistent with such part.