When the officers of justice are authorized to act in the prevention of public offenses, other persons, who, by their command, act in their aid, are justified in so doing.
(Enacted 1872.)