1. On habeas corpustYis issue arises on the sufficiency of the return. It may be contro*589verted by demurrer or by reply: Section 648, L. O. L.; Merriman v. Morgan, 7 Or. 68.
2. A circuit judge is a magistrate: Section 1735, L. 0. L. Tbe argument of the petitioner at the hearing of the demurrer was that the complaint upon which the circuit judge acted was entitled “In the Circuit Court of the State of Oregon for the County of Clatsop” and amounted to charging the defendant therein named in the Circuit Court otherwise than upon an indictment by the grand jury, which he contends is violative of Article VII, Section 5, of the Constitution as amended by the initiative process in November, 1910. It is said 'therein that, “no person shall be charged in any Circuit Court with the commission of any-crime or misdemeanor defined or made punishable by any of the laws of this state except upon indictment found by a grand jury.” The “charge” there meant is one upon which the person accused may be put upon trial and convicted by final judgment. It has no reference to such a complaint as may be made before a magistrate with a view of holding the accused to answer at a subsequent term of the Circuit Court. The constitutional amendment was designed to dispense with prosecution by information as authorized by the act of February 17, 1899, and codified as Chapter IV of Title XVTII, B. & C. Comp.
3. The return says that the proceeding resulting in the commitment of the petitioner was carried on before a magistrate. On demurrer this must be accepted as true. It matters not that the magistrate happened to be a circuit judge.
4-6. It is not necessary under our statute that the accusation before a magistrate be reduced to writing: Hannah v. Wells, 4 Or. 249; Malheur County v. Carter, 52 Or. 616 (98 Pac. 489). It is lawful, also, for such *590an officer to hold the defendant to answer for whatever crime the evidence taken before him disclosed, whether it be an offense named in the written or oral charge or not. In other words, having before him an individual charged with a crime, either orally or otherwise, the magistrate may hold him to answer for whatever offense is established by the evidence, and we appre-* hend that he has a right to consider the real substance of the charge without reference to whether it was adorned with the title of any court or not. The same principle applies to the commitment itself. It appears upon the face thereof to be issued and signed by. a magistrate, for it is subscribed, “J. A. Eakin, Circuit Judge and Committing Magistrate.” It is issued in the name of the State of Oregon to the sheriff of the county of Clatsop and recites in the words of the form indicated by the statute:
“An order having been this day made by me that” the defendant, naming him, “be held upon a charge of having committed indecent and immoral acts, you are therefore commanded to receive him in your custody and detain him until legally discharged. * * ”
It is true that this commitment is entitled, “In the Circuit Court of the State of Oregon for the County of Clatsop”; this, however, is not matter of substance. The efficacy of the document is found in the body thereof and we would not be justified in discharging the prisoner merely because the officer issuing the writ had put upon it an erroneous label.
The principle is that: “The court will not, in ordering a writ of habeas corpus, inquire into the legality or justice of the mandate under which the petitioner is held, if it is not defective in matter of substance”: People ex rel. v. Mensching, 187 N. Y. 8 (79 N. E. 884, *59110 Ann. Cas. 101, 10 L. R. A. (N. S.) 625); In re Milecke, 52 Wash. 312 (100 Pac. 743, 132 Am. St. Rep. 968, 21 L. R A. (N. S.) 259); Ex parte Robinson (Fla.), 75 South. 604 (L. R. A. 1918B, 1148); Ex parte Stacey, 45 Or. 85 (75 Pac. 1060); Ex parte Foster, 69 Or. 319 (138 Pac. 849); Long v. Minto, 81 Or. 281 (158 Pac. 805). Taking the whole return as true, as we must on the demurrer, it appears that the sheriff holds the petitioner by virtue of a commitment issued by a magistrate and substantially conforming to the Code, as against the objection urged. The demurrer is therefore overruled. Demurrer Overruled.