; (B) dismissal based on a motion, such as a motion to suppress evidence; (C) a plea agreement at first appearance; (D) a plea agreement entered into at any point in the criminal prosecution other than first appearance; (E) diversion; or (F) a bench or jury trial and the outcome of the trial, including the sentence if the defendant is convicted of any offense charged. (15) Secondary charge The term secondary charge , with respect to a case that involves multiple charges, means any charge that is not the most serious charge. (16) State The term State has the meaning given the term in section 901 of title I of the Omnibus Crime Control and Safe Streets Act of 1968 ( 34 U.S.C. 10251 ). (17) Tribal organization The term Tribal organization has the meaning given the term tribal organization in section 4(l) of the Indian Self-Determination and Education Assistance Act ( 25 U.S.C. 5304(l) ). (18) Unit of local government The term unit of local government has the meaning given the term in section 901 of title I of the Omnibus Crime Control and Safe Streets Act of 1968 ( 34 U.S.C. 10251 ). 4. Public defense grant program (a) Grant authority The Attorney General may award a grant to an eligible entity to— (1) develop, implement, and update a data collection process under subsection (b)(2); or (2) hire additional public defense attorneys or carry out related activities under subsection (c)(3). (b) Data grants (1) Term The term of a data grant shall be 3 fiscal years. (2) Required data collection An eligible entity that receives a data grant shall develop and implement a process for collecting the following data for attorneys employed by each applicable public defender’s office, and for panel attorneys within the jurisdiction of the eligible entity, during each fiscal year of the grant period: (A) The mean number of hours per month worked per attorney. (B) The mean number of hours spent per month by an attorney on— (i) discovery and investigation, including witness interviews