In case the owner or occupant of lands shall not distrain the animals or fowls doing damage as provided herein, then any person who shall knowingly permit the running at large or trespass of any such domestic animal or fowl within any city, shall be liable to the person aggrieved for treble the damages sustained, to be recovered in a civil action.