All judges, mayors, and aldermen, within their respective jurisdictions, upon their own view of any person offending against the provisions of either of the last 3 preceding sections of this chapter, may order the offender into the custody of any officer in the preceding section named, or any official member of the church or society so assembled or disturbed, for safe keeping, until he or she shall be held to bail, or a trial for such offense be had.
MCL 752.528