The mayor and aldermen of said city shall have full power and authority to prevent horses, mules, cattle, hogs, sheep, goats, dogs, and all other animals and fowls from running at large in said city, and to prevent and to prohibit the keeping of hogs within the limits of the city, or regulate the manner in which they must be kept if allowed to remain, and shall have full power and authority to take up and impound any such animals and fowls and punish all owners of such fowls and animals who refuse to obey any ordinance passed by said mayor and aldermen to carry this authority into effect. (1900 Ga. Laws, page 345, § 50; renumb. § 49 by 1901 Ga. Laws, page 549, § 2; renumb. § 48, by 1902 Ga. Laws, page 510, § 1)