The expenses of transporting a person committed to a county or city farm from the place of conviction to the farm and of his maintenance and support during his confinement shall be paid out of state funds provided pursuant to § 53.1-85, if the person is convicted and committed for a violation of a law of the Commonwealth, upon the order of the circuit court of the county or city operating the farm. If the person is convicted and committed for a violation of a city ordinance, such expenses shall be paid by the treasurer of the city wherein the person was convicted out of the funds of the city treasury, upon an order of the circuit court of the county or city operating the farm to the farm board of such county or city.
Va. Code § 53.1-104