; and (ii) certifies to the Attorney General that the unit of local government or entity shall— (I) use the grant for the purposes described in subsection (b)(2); and (II) allocate not less than 25 percent and not more than 70 percent of the amount received under a grant under this section for the development and dissemination of training for law enforcement officers in accordance with subsection (b)(4). (2) Extreme risk protection order The term extreme risk protection order means a written order or warrant, issued by a State or Tribal court or signed by a magistrate (or other comparable judicial officer), the primary purpose of which is to reduce the risk of firearm-related death or injury by doing 1 or more of the following: (A) Prohibiting a named individual from having under the custody or control of the individual, owning, purchasing, possessing, or receiving a firearm. (B) Having a firearm removed or requiring the surrender of firearms from a named individual. (3) Firearm The term firearm has the meaning given the term in section 921 of title 18, United States Code. (4) Indian Tribe The term Indian Tribe has the meaning given the term Indian tribe in section 1709 of title I of the Omnibus Crime Control and Safe Streets Act of 1968 ( 34 U.S.C. 10389 ). (5) Law enforcement officer The term law enforcement officer means a public servant authorized by Federal, State, local, or Tribal law or by a Federal, State, local, or Tribal government agency to— (A) engage in or supervise the prevention, detection, investigation, or prosecution of an offense; or (B) supervise sentenced criminal offenders. (6) Petitioner The term petitioner means an individual authorized under State or Tribal law to petition for an extreme risk protection order. (7) Respondent The term respondent means an individual named in the petition for an extreme risk protection order or subject to an extreme risk protection order. (8) State The term State means— (A) a State; (B) the District of Columbia; (C) the Commonwealth of Puerto Rico