; and (2) the term local educational agency has the meaning given such term under section 8101 of the Elementary and Secondary Education Act of 1965 ( 20 U.S.C. 7801 ). (b) Grant authorization Subject to the availability of appropriations, the Attorney General shall make a grant to each State that elects to receive a grant under this section for the cost of assigning armed law enforcement officers to provide security at K-12 schools, which may be used for the cost of pay, training, and equipment for the law enforcement officers. (c) Amount A grant under this section to a State for a fiscal year shall be in an amount that bears the same ratio to the total amount awarded under this section for the fiscal year as the total number of individuals attending a K-12 school in the State bears to the total number of individuals attending a K-12 school in the United States. (d) Administration of grants The use of, and award of subgrants using, amounts received under this section shall be administered by the head of the chief law enforcement agency of a State. (e) Subgrants (1) In general The head of the chief law enforcement officer of a State may award a subgrant to a law enforcement agency of a unit of local government in the State for the cost of hiring 1 or more full-time law enforcement officers who will be assigned to provide full-time security at K-12 schools. (2) Agreements (A) In general A law enforcement agency of a unit of local government desiring a subgrant under this subsection shall enter into a written agreement with each K-12 school in the jurisdiction of the agency, or with the local educational agency that serves such K-12 school, which shall indicate the number of law enforcement officers the law enforcement agency will hire and assign to each such K-12 school if awarded a subgrant. (B) Officers at each school The written agreements entered into by a law enforcement agency under subparagraph (A) shall provide for the hiring of not less than 1 full-time law enforcement officer who will be assigned to