22. (1) Any justice of the peace, upon a complaint made to him that a dog is vicious or supposed to be attacked by hydrophobia, or is in the habit of attacking persons, or animals at large or in harness, without the limits of its master’s property, may, after hearing the parties in a summary manner, and, if convinced that the complaint is well founded, condemn the owner or person keeping such dog to cause it be confined for forty days, or may order such dog to be killed, with costs against such owner or person.
(2) If the owner or person keeping such dog permit it to go at large, or fail to kill it in contravention of the order of the justice, he shall be liable to a penalty of not more than $1 per day.
(3) If it be proved that the dog has bitten any person outside the limits of his master’s property, and that the dog is vicious, the justice of the peace shall condemn the owner or person keeping it to kill it.
(4) It shall nevertheless be lawful to kill any dog which, without the limits of his master’s property, pursues or is known to pursue and strangle sheep, or to make a complaint to a justice of the peace, who shall condemn the owner to kill such dog and to pay the costs, upon the testimony of one credible person, without prejudice to any claim for damages caused by the loss of the sheep.