after stating the case, delivered the opinion'of the court.
At common law the general rule undoubtedly was that where an erroneous judgment was entered by a trial court, or an erroneous sentence imposed, on a valid indictment, the appellate court, on error, could not itself render such a judgment as the trial court should have rendered or remit the case to the trial court with directions for it to do so, but thé only thing it could do was to reverse the judgment and discharge the defendant. This rule was recognized in England in the case of The King v. Bourne, 7 Ad. & El. 58, where the Court of King’s Bench reversed the judgment of the Court of Quarter .Sessions, and discharged the defendants because the sentence imposed upon them by that court was of a lower grade than that which the law provided for the crime of which they had been convicted.
Some of the States in which the common law prevails, or is *75 adhered to, have adopted the sáme rule, but in most of the States it is expressly provided by statute that when there is an error in the sentence which calls for a reversal, the appellate court is to render such judgment as the court below should have rendered, or to remand the record to the court below with directions for it to render the proper judgment. And this practice seems to prevail in the State of Washington. The whole subject is discussed in Wharton’s Crim. Pl. & Pr., §§ 780, 927, where the authorities are collected and cited.
But whether this practice in the State of Washington is warranted, under a correct construction of said § 1429 of the code, or whether, if it is, that section violates the Fourteenth Amendment to the Federal Constitution, in that it operates to deprive a defendant whose case is governed by it of his liberty without due process ,of law, we do not feel called upon to determine in this case, because we are of opinion that, for other reasons, the writ of habeas corpus was properly refused.
While the writ of
habeas corpus
is' one of the remedies for the enforcement of the right to personal freedom, it will not issue,..as a matter of course, and .it should be cautiously used by the federal courts in reference to state prisoners. Being a civil process it cannot be converted into a remedy for the correction of mere errors of judgment or of procedure in the court having cognizance of the criminal offence. Under the writ of
habeas corpus,
this court can exercise no appellate jurisdiction over the proceedings of the trial court or courts of the State, nor review their conclusions of law or .fact, and. pronounce them erroneous. The writ of
habeas corpus
is not a proceeding' for the correction of errors.
Ex parte Lange,
As ivas said by. this .court, speaking by Mr. Justice Harlan, in
Ex parte Royall,
The office of a writ of
habeas corpus
and the cases in which it will generally be awarded was clearly stated by Mr. Justice Bradley speaking for the court in
Ex parte Siebold,
*77
It is said, in
Ex parte Roy all,
supra, that after a prisoner is convicted of a crime in the highest court of the State in which a conviction could be had, if such conviction was obtained in disregard or in violation of rights secured to him by the Constitution and laws of the United States, two remedies are open to him for relief in the federal courts — he may either take his writ of error from this court, under § 709 of the Revised Statutes, and have his case reexamined in that way on the question of whether the state court has denied him any right, privilege or immunity guaranteed him by the Constitution and laws of the United States; or he may apply for . a writ of
habeas corpus
to be discharged from custody under such conviction, on the ground that the state court had no jurisdiction of either his person or the offence charged against him, or had, for some reason, lost or exceeded its jurisdiction, so as to render its judgment a
nullity;
in which latter proceeding the federal courts could not review the action or rulings of 'the state court, which could be reveiwed by this court upon a writ of error. ..But, as already stated, the Circuit Court has a discretion as to which of these remedies it will require the petitioner to adopt. This was expressly ruled in
Ex parte Royally
supra, and has been repeatedly followed since that case. In the recent case of
In re Wood,
We adhere to the views expressed in that case. It is certainly the better practice, in cases of this kind, to put the prisoner to his remedy by writ of error from this court, under section 709 of the Revised Statutes, than to award him a writ of habeas corpus. For, under. proceedings by writ of error, the validity of the judgment against him can be called in question, and the federal court left in a position to correct the *78 •wrong, if any, done the petitioner, and at the same time- leave the state authorities in a position to deal with him thereafter, within the limits of. proper authority, instead of discharging him by habeas corpus proceedings, and thereby depriving the State of the opportunity of asserting further jurisdiction over his person in respect to the crime with' which he is charged.
In some instances, as in
Medley, petitioner,
In the present case we agree with the court below that the petitioner had open to him the remedy by writ- of error from this court for the correction of whatever injury may have been done to him by the action of the state courts, and that he should have been put to that remedy, rather than given the remedy by writ of habeas corpus. The Circuit. Court had authority to exercise its discretion in the premises, and we do not see that there was any improper exercise of that discretion, under the facts and circumstances.
Without passing, therefore, upon the merits of the question as to the constitutionality of the provision of the code under which the Supreme .Court proceeded in disposing of the case, when it was before it, or upon the question of the validity of the judgments .rendered by the state courts in the case, we are of opinion,, for the reasons stated, that the order of -the Circuit Court refusing the application for' the writ of habeas corpus was correct, and it is accordingly
Affirmed.
