Whenever a locality leases or purchases any gas, electric or water plant operating within territory contiguous to the locality, the locality so leasing or purchasing shall have all of the rights, privileges and franchises of the person from which the property was leased or purchased and the power to operate, maintain and extend service lines in all the territory which the plant so leased or purchased had the right to do. Any locality leasing or purchasing any property hereunder shall be obligated to furnish, from the property so leased or purchased, or from any other source, an adequate supply of gas, electricity or water to the consumers of any person whose plant was leased or purchased. In the exercise of the powers granted by this section, localities shall be subject to the provisions of § 25.1-102 to the same extent as are corporations.
Va. Code § 15.2-2115