The court shall enter an order fixing the boundaries of any village or unincorporated community having within defined boundaries a population of 300 or more for the purpose of preventing domesticated livestock from running at large within such boundaries if (i) in the case of a contested petition, it appears from the evidence or from a report, if any is required pursuant to § 55.1-2830, that at least 300 persons reside within the boundaries referred to in a petition filed pursuant to § 55.1-2828 and that a majority of the landowners residing therein are in favor of prohibiting domesticated livestock from running at large or (ii) in the case of an uncontested petition, on the basis of the evidence presented in the petition itself.
Va. Code § 55.1-2831