This is аn appeal by the relator from an. order of the Appel- . late Division, in the first department, which reversed a final order of the Special Term, sustaining a writ of habeas corpus and discharging the prisoner Brandt from custody under a judgment of the Court of General Sessions of the city and county of Hew York. The order of the Appellate Division dismissed the writ and remanded the prisoner to the custody of the warden of Clinton Prison under the judgment. The justices of the Appellate Division were unanimous in their decision and the opinion, which was delivered by that court, has, most thoroughly, covered the ground, upon which the relator rests his contention that the prisoner Brandt is illegally detained in custody. The question was a very simple one. It was whether the court, before which Brandt was arraigned, had jurisdiction to .try him and to pronounce judgment against him for the offense, for which he was indicted. The statutory provisions regulating a proceeding under the writ of habeas corpus are, so far as material, that a person is not entitled to the writ “ Where he has been committed, or is detained, by virtue of the final judgment, or decree, of a competent tribunal of civil or criminal jurisdiction.” (Code of Civ. Pro. sec. 2016.) Section 2032 of the Cоde provides that “ the court or judge must forthwith make a final order to remand the prisoner, if it appears that he is detained in custody for either of the following causes, and that the time, for which he may legally be so detained, has not ex *96 pired. * * * 2. By virtue of the final judgment or decree of a competent tribunal, of civil or criminal jurisdiction.” Section 2034 provides that “ a court or judge, upon the return of a writ issued as prescribed in this article, shall not inquire into the legality or justice of any mandate, judgment, decree, or final order, specified in the last section but one (i. e., sec. 2032), except as therein stated.”
The petition of the relator, as the “ next friend ” of Brandt, (made five years after the judgment), set forth the commitment upon an indictment charging the prisoner with the crime of burglary in the first degree and his plea' of guilty.; that the rec- «, ord- disclosed that the crime was never committed, as charged, and that the prisoner did not plead guilty, but did state, in answer to the judge оf the court, facts showing that he had not committed the crime. The return of the warden of the prison, where the prisoner was detained, showed that the prisoner was committed to one of the State prisons for a term of thirty years, pursuant tо a judgment of conviction of the Court of General Sessions of the Peace, of the city and county of Hew York; annexing a copy of the commitment. A traverse was made to the return by the relator and not by the prisoner, as the statutе requires (Code Civ. Pro. sec. 2039); which, by various allegations, denied the validity of the commitment and the jurisdiction of the judge to sign the commitment, or to pronounce the judgment. Upon the matter coming on to be heard, the indictment, an extract from thе clerk’s minutes of the proceedings had in court thereon and a copy of the stenographer’s minutes of the proceedings were read in evidence. The indictment charged Brandt, in three counts, with the crimes of burglary in the first degree, of grand larceny in the first degree and of criminally receiving stolen property. He appeared in court on March 25th, 1907, to plead to the indictment and entered a plea of “ not guilty.” On March 28th, 1907, he was arraigned in court and, by leave, withdrew his plea of not guilty and *97 pleaded guilty of burglary in the first degree. He was then examined by the court, at some length, as to his nationality, his age and his acts in Mr. SehifPs house, where the crime was committed. An adjournment being had to April 4th, 1907, the prisoner was arraigned for sentence and judgment was entered committing him to the State prison, at hard labor, for the term of thirty years. There was no motion in arrest of judgment; nor was there an appeal. Upon the indictment was indorsed the appearance of 'O. A. Bayles, as counsel appearing for the prisoner. Carl Fischer Hansen, an attorney, appeared for him on April 4th, when arraigned in court for sentence, and argued for clemency. From an affidavit made by Han'sen, it аppears that he had been requested by the trial judge to ask Brandt, if he understood the nature of the proceeding and that he, Brandt, said he did. It was not alleged by the relator that the court had not jurisdiction to try Brandt for the crime, with which he was charged, and to impose sentence upon conviction, or upon a plea of guilty. It was, therefore, clearly the duty of the judge at Special Terms, upon the record, to dismiss the writ, upon which the prisoner was brought before him, when it wаs shown that he was held by virtue of the final judgment of a court of competent jurisdiction.
An argument is, curiously, sought to be made that, although the prisoner pleaded guilty and although his plea was not withdrawn, the facts appearing upon his examinatiоn before sentence “ indicated ” that he was not guilty of the crime. But the only fact with which the court below was concerned was that of the jurisdiction, that is to say, the power, of the tribunal, before which Brandt was arraigned, to sentence him. It was not concerned with questions relating to the regularity of the proceedings, or to the sufficiency of the facts to establish his guilt, or to the severity of the sentence. The question was not about his guilt; it was about the authority to pronounce the judgment. The record produced showed that he had withdrawn his plea *98 of not guilty and had pleaded guilty, and continued to stand at the bar of the court upon that plea. That was as effective, as if there had been a conviction by the verdict of a jury and, if not withdrawn, required the court to pronounce judgment. The statute provides for three pleas to be made to an indictment, to wit: guilty, not guilty, or a former judgment of conviction, or acquittal, and that a conviction may be had uрon a plea of guilty, except where the crime charged is punishable by death. It provides that every plea must be oral and must be entered upon the minutes of the court. (Code Crim. Pro., secs. 332, 333.)
It is argued by the appellant that the faсts, disclosed by Brandt’s statements, made when arraigned, showed that the crime charged and confessed to was not made out. The trial judge, however, had the right to doubt the prisoner’s statements of how he came to enter Schiff’s house and of his intentions towards Sehiff; by which statements he hoped" to palliate his offense, after confessing to the indictment. Having received the plea of guilty, the further examination before sentence bore not upon the question of guilt, but upon the severity of the judgment to be rendered. Certainly, no application was made to withdraw his plea of guilty to the charge of burglary in the first degree and his counsel, simply, asked for clemency. If there was no breaking into the house, to constitute thе crime, then was the time for the prisoner to change his plea.
The summary remedy of a writ of habeas corpus, which is open to every person detained in custody, that the legality of his detention may be inquired into, cannot perform the functions of an appeal from the judgment of conviction. The court, before which a prisoner is brought under the writ, will inquire into the question of jurisdiction and if it appears that the power" existed to pronounce the judgment, the writ must be dismissed. In People ex rel. Danziger v. P. E. House of Mercy (
*99
inquiry is whether the magistrate “ had authority to pronounce a judgment of imprisonment for the cause assigned ” and that, “ if this has been shown, the statute forbids the judge to review the decision of such a magistrate.” (Citing Pеople ex rel. Tweed v. Liscomb,
A question is sought to be raised by the appellant as to the People’s right to appeal to the Appellate Court from the final •order discharging the prisoner upon the writ. The question .arises upon the provisions of section 2058 of the Code of Civil Procedure, which reads: “ An appeal may be taken from an •order refusing to grant a writ of habeas corpus, or a writ of •certiorari, as prescribed in this article, or from a final order, made upon the return оf such a writ, to discharge or remand a prisoner, or to dismiss the proceedings. When the final order is made to discharge a prisoner, upon his giving bail, an appeal therefrom may be taken, before bail is given; but where the appeаl is taken by the People, the discharge of the prisoner upon bail shall not be stayed thereby. An appeal does not lie, from an order of the court or judge before which or whom the writ is made returnable, except as presсribed in this section.” Hr. Justice Hiller, speaking for the Appellate Division, correctly held, upon authority, that “ the first sentence of this section gives the unqualified right to appeal from a final order dis *101 charging the prisoner. The succeeding sentеnce is permissive and was plainly intended to authorize an appeal before bail is given, where the discharge, instead of being absolute, is conditional, and to provide that in such case an appeal fay the People should not stay the discharge of the prisoner upon giving hail.” I think that the order appealed from should.be affirmed.
Cullen, Ch. J., Haight, Vann, Werner, Hiscock and Collin, JJ., concur.
Order affirmed.
