In General— Subject to subparagraph (B), a State educational agency that receives funds in accordance with subsection (d)(1) shall allocate such funds to each local educational agency in the State in an amount that bears the same relationship to the total funds described in subsection (d)(1) 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 bears to the total amount of funds under that part for all local educational agencies in that State for that year.