A city of the primary class shall have the power, by ordinance, to regulate or prohibit the running at large of cattle, hogs, horses, mules, sheep, goats, dogs, and other animals and to cause such animals running at large to be impounded and sold to discharge the cost and penalties provided for violation of such prohibitions, and the fees and expenses of impounding and keeping such animals and of such sale.
Neb. Rev. Stat. §§ 15-218