Any county may prevent trespassing by persons and animals and prevent animals from running at large upon the public highways, whether such highways are enclosed by a fence or not.
Code 1950, § 15-8; 1954, c. 529; 1956, cc. 218, 664; 1956, Ex. Sess., c. 40; 1958, c. 279; 1960, c. 606; 1962, c. 623, § 15.1-512; 1997, c. 587.