Opinion by
The appellant, who is serving a life sentence in the Eastern State Penitentiary for murder, appeals from an order of the court below dismissing his petition for a writ of habeas corpus.
When, as. defendant, the appellant' was arraigned on. the indictment charging him with murder, he entered a plea of-guilty. But, at the hearing before the court for the taking of testimony in order to fix the' degree of the crime and the penalty, he claimed that his fatal stabbing of the deceased was done in self defense and also contended that, even if adjudged guilty, of a penal offense, his crime rose no higher thanvoiuntary manslaughter. Upon his subsequent petition, the court permitted him to change his plea to not guilty. At the ensuing trial, the jury found him guilty of murder in the first degree and fixed the penalty at life imprisonment whereon judgment of sentence was duly éntéred.
*143 In support of Ms petition for a writ of habeas corpus against the restraint thus imposed upon him, the relator alleges (1) that no member of the Negro race, to which he belongs, was selected for service on the jury which tried and convicted him, (2) that the trial judge erroneously allowed in evidence reference to his plea of guilty which he had formerly made but subsequently withdrew and (3) that the court, before imposing sentence, failed to inquire of him whether he had anything to say why sentence should not be pronounced.
In support of his first contention, the appellant avers that three members of his own race were called for jury service at his trial but were challenged by the Commonwealth and that, consequently, the jury which tried and convicted him was composed entirely of Caucasians. As pointed out by Judge Boyal in the opinion for the court below, — “The fact that the Commonwealth saw fit, as it had a right to do, to exercise some of its peremptory challenges in excluding these jurors or for cause where just cause existed, did not constitute a denial of due process of law.” What we said in
Commonwealth v. Bentley,
The contention that the court erroneously admitted in evidence reference to the defendant’s earlier plea of guilty is obviously directed at alleged trial error which is not matter for appellate review upon a habeas corpus proceeding. The remedy for trial error is by motion for new trial followed, if necessary, by an appeal. We, as well as the Superior Court, have frequently recognized that a habeas corpus petition is not available for the correction of trial errors which could have been reviewed and corrected on appeal; it is not a substitute for an appeal or for a writ of error or for a motion for a new trial:
Commonwealth ex rel. Marelia v. Burke,
The appellant’s remaining contention is equally without merit. He argues that the failure of the sentencing judge to inquire whether the defendant had anything to say before sentence was pronounced served to vitiate the sentence. Even if it did, the conviction
*145
would not thereby be vacated; the ensuing procedure would merely require a resentencing: see
McCue v. Commonwealth,
Order affirmed.
