The defendant was convicted in the court of General Sessions in October 1883, of the crime of forgery in the first degree, as a second offense, under section 688 of the Penal Code. It was charged in the indictment that the defends *298ant in March 1877, pleaded guilty to the commission of a felony, and was sentenced to five years’ imprisonment. The first offense was forgery in the third degree, the extreme penalty of which, under the Eevised Statutes, was imprisonment for a period not exceeding five years. See 3d vol. B. S. 6tli ed. p. 946. Under the Penal Code the punishment of forgery in the third degree is the same. See § 525. The punishment of forgery in the first degree, under the Eevised Statutes (see page above indicated) was imprisonment in the state prison for a term not less than ten years, and it might be for life. Therefore under the Code the punishment is the same. Section 523.
In refcretice to the punishment for a second offense, the provisions of the Eevised Statutes (6th ed. p. 989, § 8) declare that if a person shall be subsequently convicted cf an offense, which upon a first conviction, would be punishable by imprisonment in the state prison for a term exceeding five years, he should be punished by imprisonment in a state prison for a term not less than ten years, and that if the subsequent offense be such that upon a first conviction the offender would be punished by imprisonment in a state prison for five years or any less term, then the person convicted should be punished by imprisonment in a state prison for a term not exceeding ten years.
The Penal Code went into effect on the 1st of December, 1882. By section 688, it is provided that if the subsequent crime is such, that upon the first conviction the offender might be punished, in the discretion of the court, by imprisonment for life, he must be sentenced to imprisonment in the state prison for life. And by subdivision 2, if the subsequent crime is such that upon a first conviction the offender would be punished by imprisoment for any term less than his natural life, then such person must be sentenced to imprisonment for a term not less than the longest term, nor more than twice the longest term prescribed upon a first conviction.
The appellant, upon his conviction, was sentenced to imprisonment for life, and the question presented upon this appeal, and indeed it is the only question that requires consideration, is whether the punishment inflicted was justified by existing statutes. The proposition that the Penal Code is ex post *299act of in reference to the offense of which the appellant was convicted,' cannot be maintained, though at first blush there seems to be some force in it. But upon reflection it is quite apparent that it has no strength. The legislature has the right to declare the punishment for a stated offense. They have done so by the Penal Code. It is substantially that if a person who has been convicted within this state, of a felony, commits any crime within this state, he is punishable upon conviction of such second offense in the manner indicated ; that is to say, if the second offense is such that upon a first conviction of it he might be punished, in the discretion of the court, by imprisonment for life, he must be sentenced to imprisonment in the state prison for life for such subsequent crime. If the appellant therefore had been convicted either under the Revised Statutes or under the Penal Code, of the offense of forgery in the first degree, inasmuch as he might be punished by imprisonment for life, he must under the provisions of the Code be sentenced to imprisonment in the state prison for life. If the section which contains these provisions, namely, section 688, before alluded to, required that the subsequent crime should be similar in degree to the first offense, there might be some reason to declare in this case, that as the first offense was one which was not punishable in the discretion of the court by imprisonment for life, the sentence was erroneous. But such is neither the letter nor the spirit of the law, the declaration being, as already suggested, that if any person convicted of a felony within this state commits any crime, then he may be punished as indicated in the section.
There is no imposition of any punishment for the first offense, but an increased punishment for a second offense of a felony whatever that felony may be, if within the provisions of the statute. In other words the statute is substantially this: A person who has been convicted of a felony within this state, who commits any crime within the state, shall be punished as follows: If the second offense is such, that upon a first conviction of it he might be punished in the discretion of the court, by imprisonment for life, he must be sentenced to imprisonment for life. This feature of the statute is a method of regulating and determining the extent of the sentence for *300the second offense, which is increased when a previous felony is shown to have been committed by the accused. The statute embraces any felony, the design evidentally being to punish severely for a second felony, and to declare absolutely the punishment by abrogating the discretion as to the term which might otherwise be designated. In sentencing for the second offense the discretion does not exist therefore.
In the consideration of this question, it must not be forgotten that the offense of which the prisoner was convicted was committed after the Penal Code went into effect; and there - fore he is not punished under the Code for an act committed before it went into effect. The legislature in determining what punishment should be inflicted for the commission of forgery in the first degree have declared that the maximum shall be imposed in cases where the crime is a second offense, though not of the same degree as the first. For these reásons we think the judgment should be affirmed.
Daniels, J., concurs.