A complaint within the meaning of section 29-02-06 is a statement in writing, made to a magistrate, that a person has threatened to commit an offense against the person or property of another, and subscribed and sworn to by the complainant.
N.D.C.C. § 29-02-07