In the case of a city with a population of more than 200,000 receiving per capita aid for law enforcement in accordance with § 9.1-169 of less than sixty-five percent of the average per capita aid to law enforcement received by all other cities with a population of more than 200,000 under such provisions, exclusive of amounts payable by reason of this section, the discretionary fund established by § 9.1-169 shall first be used to pay such city an aggregate sum so as to make its per capita receipts for law enforcement under § 9.1-169 equal to sixty-five percent of the average per capita aid for law enforcement disbursed to all other cities with a population of more than 200,000. The remainder, if any, shall be distributed per capita among (i) cities with populations under 200,000, (ii) eligible counties, and (iii) towns having police departments.
Va. Code § 9.1-171