In Re Graham
after stating the case, delivered the opinion of the court.
It is undoubtedly the general rule that a judgment rendered by a court in a criminal case must conform strictly to the statute, and that any variation from its provisions, either in the character or the^extent of punishment inflicted, fenders the judgment absolutely void; but it seems that under the law of Wisconsin a judgment in a criminal case which merely exceeds in the time of punishment prescribed by the sentence that which is authorized by law, is not absolutely void, but only erroneous, and that the error, must be corrected on appeal and cannot be corrected by a writ of habeas corpus. It would seem that a distinction is there’ made between those cases in which' the judgment is irregular, as being in excess of-the time prescribed, and those in which- it is void as changing the nature of the punishment from that authoriz- d by +he law; and that in the formti class, until the time is reached which is prescribed by statute as the limit of the power of the court to punish the prisoner,- he has no remedy by habeas corpus.
If such -be the law of the State; as would appear by this decision and the argument of counsel, we do not- see that we
Nor is the doctrine of the Wisconsin court peculiar to the courts of that State. In New York it has been held that a judgment in a criminal case, which in the punishment it imposed exceeded that prescribed by statute, was not void except for the excess, where such excess could be omitted in the execution of the judgment. Thus, in
The People
v. Baker,
But were the general doctrine of other States against that held by the'bighest court-of Wisconsin, it i^taot perceived how
Judgment affirmed.