Whoever, owing allegiance to this state and having knowledge of the commission of treason against this state, does not, as soon as may be, disclose and make it known to the governor or a judge of the supreme court, court of appeals, or district court, is guilty of misprision of treason against this state and may be sentenced to imprisonment for not more than five years or to payment of a fine of not more than $10,000, or both.