Our statute law has made no provision for appeal from a judgment in habeas corpus proceedings, except in cases concerning the care and custody of children. Revisal, sec. 1854. Therefore it is, that when on such a hearing a question of law or legal inference is presented, and the judgment therein involves the denial of a legal right, it may be reviewed by certiorari, under and by virtue of the power conferred on this Court by the last clause of section 8, Article IV, of our Constitution: "And the Court shall have power to issue any remedial writs necessary to give it general supervision and control over the proceedings of the inferior courts. " This has been expressly held with us in several decisions, as in S. v. Herndon, 107 N.C. 934; S. v.Miller, 97 N.C. 451; S. v. Lawrence, 81 N.C. 522, and the procedure in the present case has been very properly made to conform to this ruling. The cause, then, being regularly before us, our statute onhabeas corpus contains, among others, the following provisions, (167) as more directly relevant to the question presented:
"Sec. 1822. Application to prosecute the writ shall be denied in the following cases (subsec. 2): Where persons are committed or detained by virtue of the final order, judgment, or decree of a competent tribunal of civil or criminal jurisdiction or by virtue of an execution issued upon such final order, judgment, or decree, etc. "
"Sec. 1827. Any court or judge, empowered to grant the writ, to whom such application may be presented, shall grant the writ without delay, unless it appear from the application itself or from the documents annexed that the person applying or for whose benefit it is intended, is by this chapter prohibited from prosecuting the writ. "
"Sec. 1848. It shall be the duty of the court or judge forthwith to remand the party, if it appear that he is detained in custody, either . . . (subsec. 2): By virtue of the final judgment or decree of any competent court of civil or criminal jurisdiction or of execution issued upon such judgment or decree.
A perusal of these sections quoted will show that where it appears from *Page 132 the application itself or the documents annexed thereto, that the petitioner is held under a final judgment of a competent tribunal, the writ will be denied, and when such fact is disclosed on the hearing, the petitioner must be remanded. In construing this term, "final judgment or decree of a competent tribunal," it has come to be well understood that the exception refers only to judgments warranted by the law applicable to the case in hand, and where it appears from an inspection of the record proper and the judgment itself that the court had no jurisdiction of the cause and was manifestly without power to enter the judgment or impose the sentence in question, in such case there would be no final sentence of a competent tribunal, and the exception established by the statute does not obtain. S. v. Queen, 91 N.C. 659; People v. Lipscomb,60 N.Y. 559; In re Swan, 150 U.S. 637; Ex parte Lange, 85 U.S. 163; In re Lackey, 6 S. Dakota, 526. To hold otherwise (168) would in effect subject this great writ — the most important, perhaps, in our system of government, having its origin long prior to Magna Charta — to a question of form and procedure and render it of little avail for the relief of a citizen imprisoned contrary to the law of the land. The lawmakers no doubt had this interpretation in view when they used the words "competent tribunal," and if they had intended otherwise the provision would have been unconstitutional, for the writ of habeas corpus, as understood and acted on, has prominent place in our organic law. Article I, section 18. In recognition of this principle, it has been frequently held that where a convicted criminal is detained under a sentence not authorized by law, he is entitled to be heard, and when, though authorized in kind, it extends in duration beyond what the law expressly permits, after serving the lawful portion of the sentence, he may be relieved from further punishment, the excess being considered and dealt with as void. U.S. v. Pridgen, 153 U.S. 48; Ex parte Erdman, 88 Cal. 579.
While the right to relief in the cases indicated is clear, it is well recognized that in a hearing on habeas corpus in the proper acceptation of the term, the Court is not permitted to act as one of errors and appeals, but the right to afford relief arises only when there is manifestly a lack of power to impose the sentence complained of. As held in Pridgen's case,supra, "Upon a writ of habeas corpus, the inquiry is not addressed to errors, but to the question whether the proceedings and judgment are nullities, and unless it appears that the judgment or sentence under which the prisoner is confined is void, he is not entitled to his discharge; and in People v. Lipscomb, supra, Allen, J., delivering the principal opinion, said: "If there was no legal power to enter the judgment or decree or issue the process, there was no competent court, and consequently no judgment or process. All is coram non judice and void. " And again, "In other words, upon the writ of habeas *Page 133 corpus the court could not go behind the judgment, but upon the whole record the question was whether the judgment was warranted by the law and within the jurisdiction of the court. " Except in the exercise of appellate power of some supervising tribunal, this position is (169) uniformly observed. It would produce inextricable confusion to permit one judge of equal and concurrent jurisdiction to question and interfere with the final judgments of another or to deal with such hearings on any other principle. And in determining this question of power the Court is confined, as heretofore stated, to the record proper and the judgment itself. It is not permitted that the testimony or the rulings thereon should be examined into nor that matters fairly in the discretion of the presiding judge should be reviewed or that judgments erroneous in the ordinary acceptation of the term should be questioned. The hearing is confined to the record, and judgment and relief may be afforded only when on the record itself the judgment is one clearly and manifestly beyond the power of the court, a statement of the doctrine supported in numerous and authoritative decisions here and elsewhere. Ex parte McCown, 139 N.C. 95;In re Schenck, 74 N.C. 607; In re Swan, 150 U.S. 637; In re Coy,127 N.C. 731.
Applying the principle, and under our decisions directly relevant to the charge contained in the bill of indictment, the judgment of AssociateJustice Walker remanding the prisoner was clearly correct. Our statutes applicable to the punishment for larceny and controlling on the question presented are as follows, section 3500: "All distinctions between petit and grand larceny, where the same hath had the benefit of clergy, is abolished, and the offense of felonious stealing, where no other punishment shall be specifically prescribed therefor by statute, shall be punished as petit larceny is: Provided, that in cases of much aggravation or of hardened offenders, the court may, in its discretion, sentence the offender to the State's Prison for a period not exceeding ten years. " And section 3506: "In all cases of larceny, where the value of the property stolen does not exceed $20, the punishment shall, for the first offense, not exceed imprisonment in the State's Prison or common jail for a longer term than one year. If the larceny is from the person or from the dwelling by breaking and entering in the day time, this section shall have no application. In all cases of doubt, the jury shall, in the verdict, fix the value of the property stolen. " Construing the last section, the Court in S. v. Harris, 119 N.C. 811, held as (170) follows:
1. The act of 1895 (chapter 285) does not make it necessary that an indictment for the larceny of a sum less than $20 should charge the taking from the person or from a dwelling-house in the daytime.
2. The general rule as to the form of statutory indictments is that it *Page 134 is not requisite, where they are drawn under one section of the act, to negative an exception contained in a subsequent distinct section of the same statute.
3. On a trial for larceny in the Superior Court the fact that the amount stolen was less than $20, and that the taking was neither from the person nor a dwelling-house, is a matter of defense which it is incumbent on the defendant to show in diminution of the sentence.
4. Where, in the trial of an indictment for larceny, there is a dispute about the value of a thing taken, it is incumbent on the defendant to demand a finding upon that subject by the jury.
It will thus appear that the amount or value of the property is not now an essential ingredient of the crime of larceny in this State, nor does the statement of such value in the bill conclude on the question of punishment. It is only a matter in amelioration of the punishment, to be raised and determined at the instance of the defendant and as an issue of fact, and therefore there is no indication on this record and judgment that the sentence was not within the power of the court that imposed it. Apart from this, petit larceny at common law was regarded as infamous and subject to corporal punishment. S. v. Kent, 65 N.C. 311; S. v.Ratts, 63 N.C. 503; S. v. Kearzey, 61 N.C. 481; Battle's Revisal, ch. 32, sec. 29, and except as modified by the sections quoted, the punishment would, in all cases, be not less than four months nor more than ten years. Revisal, secs. 3292, 3293. Referring the question of punishment, however, to the sections more directly opposite, 3500 and 3506, it is evident that the last section, 3506, was only designed and intended to apply to (171) petty offenders and to first or early offenses, and, when taken in connection with the proviso in section 3500, "Provided, that in aggravated cases or of hardened offenders the court may, in its discretion, sentence the offender to the State's Prison for not less than four months nor more than ten years" (changed to roads by statutes applicable), we think, even if it were a question now open to investigation, that on the facts as found by the court the sentence imposed on the prisoner was fully warranted by law. This position finds substantial approval in the recent case of S. v. Shuford, 152 N.C. 809, in which AssociateJustice Walker, in closing the opinion, said: "We think it would be giving a strained construction to section 3506 if we should hold that a larceny committed by breaking and entering a dwelling-house in the nighttime cannot be punished by imprisonment for more than one year, and that larceny from the person, or by breaking and entering in the daytime may be punished by a much longer imprisonment. Revisal, sec. 3500, provides in regard to the punishment of larceny, that in cases of aggravation or of hardened offenders, the court may, in its discretion, sentence the offender to the State's Prison for a period not exceeding ten years." *Page 135
Nor is it in conflict with the decision of the Court in S. v. Davidson,124 N.C. 839, to which we were cited by counsel. In that case the value of the property stolen was less than $20, and, on the facts, in order to sustain a sentence greater than imprisonment for one year, it was necessary to show a former conviction for a like offense, and it was held that in such case it was necessary that the former conviction should be alleged in the bill of indictment and proved on the trial. That ruling was in accord with a line of precedents made at a time when a conviction for a second offense, in many cases, changed and greatly increased the character of the punishment, some of them requiring the imposition of the death penalty, and the fact that the principle indicated was recognized by statute (Revisal, sec. 3249, Code, sec. 1187) was allowed much weight. We think, however, that the case as a precedent should be confined to the facts there presented and should not apply or be allowed to control where, as in this case, it clearly appeared that the property was largely more than $20 in value, to wit, from $250 to $300, and that the defendant was a "hardened offender," bringing the (172) question of punishment within the provisions of section 3500 of the Revisal.
There is no error, and the judgment is
Affirmed.