Any municipality may acquire any public utility or any part thereof, authorized or operating in the municipality under a license, permit, or franchise, or operating in the municipality without any license, permit, or franchise, by any agreement with the public utility, or it may proceed to procure the condemnation of the same in the manner provided by law for the taking and condemning of private property for public use.
65 ILCS 5/11-117-7