; and (B) in subparagraph (A), by striking counterdrug, counterterrorism, and border security activities and inserting counterterrorism ; and (2) in subsection (d), by striking counterdrug, counterterrorism, or border security activities and inserting counterterrorism . 4. Gear for grants program Part A of title I of the Omnibus Crime Control and Safe Streets Act of 1968 is amended by adding at the end the following: 110. Demilitarization of law enforcement agencies (a) Priority In awarding funds under covered grant programs, priority shall be given to States and units of local government with law enforcement agencies that, in the 12 months prior to the date on which the application for the covered grant program is submitted— (1) have no transfers from the Department of Defense; or (2) have— (A) returned to the Department of Defense an appropriate number of transfers such that the value of transfers is equal to twice the value of the funds that the applicant would receive under the applicable covered grant program; and (B) not received transfers from the Department of Defense in the 12 months prior to the date on which the grant is awarded. (b) Covered grant programs The programs referred to in subsection (a) are the following:: (1) The program under part Q of this title. (2) Any other grant program carried out by the Department of Justice for the benefit of law enforcement agencies that the Attorney General considers appropriate. (c) Definitions In this section: (1) Transfers The term transfers means the equipment provided under section 2576a of title 10, United States Code, which includes the following: (A) Controlled firearms, ammunition, bayonets, grenade launchers, grenades (including stun and flash-bang), and explosives. (B) Controlled vehicles, highly mobile multiwheeled vehicles, mine-resistant ambush-protected vehicles, trucks, truck dump, truck utility, and truck carryall. (C) Drones that are armored, weaponized, or both. (D) Controlled aircrafts that— (i) are combat configured or combat coded