Be it enacted by the authority aforesaid that the mayor and council of said City of Wrightsville shall have power to take up and impound any horses, mules, cattle, hogs or other livestock, including the running at large of domestic fowls, and to pass such ordinances an [as] may be deemed by them necessary for the regulation of stock within said city, as well as to levy such tax, as may seem property [proper] to them, upon dogs.