to be examined into before any court, magistrate, officer, arbitrator, board, committee or other person authorized to take testimony in the state. (2) By the attorney general or any district attorney or person acting in his or her stead, to require the attendance of witnesses, in behalf of the state, in any court or before any magistrate and from any part of the state. (3) By the chairperson of a