
    Ex parte A. J. GARDNER.
    No. A-8522.
    March 3, 1933.
    (19 Pac. [2d] 910.)
    John J. Carney, for plaintiff in error.
    J. Berry King, Atty. Gen., for the State.
   EDWARDS, P. J.

Petitioner alleges that he is unlawfully restrained of his liberty by the warden of the state penitentiary; that in May, 1913, he was charged in Pottawatomie county with the crime of murder; that he entered a plea of guilty and was sentenced to imprisonment for life; and that he has served since said time. He alleges that before entering his plea of guilty he was made to believe by the county attorney if he would plead guilty he would not receive a sentence of more than five years. That he did not have counsel of his own choosing but relied upon the county attorney, that the court did not advise him of his right to have counsel appointed and did not appoint counsel for him. The state has demurred to the petition. The demurrer must be sustained. The matters alleged do not go- to the jurisdiction of the court and do not render the judgment void. It is so well settled as to amount to a truism that habeas corpus may be resorted to only when the judgment is void and it cannot be resorted to in lieu of an appeal, no matter how flagrant the errors in the proceeding, unless they are such as to render the judgment void.

The writ is denied.

DAVENPORT and CHAPPELL, JJ., concur.  