¶1Frank Connors filed his petition in this court praying for a writ of habeas corpus upon the ground that he is illegally restrained of his liberty by Hon. Arthur Pratt, warden of the state prison of Utah. The writ was duly issued and the warden made return thereto, from which it is made to appear that said Connors is held by said warden under two commitments one issued out of the district court of Utah County, dated the 9th day of October, 1899, and the other issued out of the district court of Carbon County, dated the 14th day of October, 1902. The first commitment was issued upon a judgment whereby said Connors was convicted of murder in the first degree for which he was sentenced to life imprisonment in the state prison of Utah. The second commitment was based upon a conviction for burglary upon which he received a sentence of ten years in said prison.
¶2At the hearing the plaintiff, through his counsel, conceded that he was legally held under the judgment convicting him of burglary, but contended that he was illegally held under the judgment convicting him of murder for the reason that the information upon which that judgment is based was signed and filed by the district attorney of the Fourth Judicial District pursuant to chapter 56, p. 77, Laws Utah 1899, which chapter, he contends, is of no force ar effect for the *260reason that it was adopted contrary to certain provisions of the Constitution of tbis state. In view that the plaintiff concedes that he is not illegally restrained of his liberty by the warden upon one of the commitments aforesaid, the Attorney General suggested at the hearing that, all that this court can do at this time is to remand the prisoner back into the custody of the warden. TJpon the other hand, plaintiff contends that, notwithstanding the fact that he is rightfully held upon one commitment, he nevertheless has the right to have the legality of his first sentence determined by this court.
¶3We are of the opinion that inasmuch, as the plaintiff concedes that the warden is not illegally restraining him of his liberty upon one of the commitments, we might well refuse at this time to examine into the legality of the other. Under our statute (section 1088, Comp. Laws 1901), we are, however, to “dispose of the prisoner as justice mad require.” In this connection we remark that in section
¶4In view of this anomalous situation, in so far as plaintiff is concerned, and in view of the fact that, although the life sentence may be void, the state may nevertheless prosecute the plaintiff for the crime of murder in case it be determined that he was tried for that crime in a court having no jurisdiction, it seems to us that justice requires that we at this time pass upon the legality of the first commitment, so that in the event that it should be declared void the plaintiff may timely and in a proper manner present the question of the reduction of the ten-year sentence under which he is now held and which would be terminated if the board of pardons reduced that sentence for the maximum period of time fixed by the statute, and, further, that the state may proceed to try the plaintiff upon the charge of murder of which he is now presumed to be innocent until legally tried and convicted by a court having jurisdiction to do so. That a judge or court in passing upon an application for a discharge from imprisonment upon a writ of habeas corpus where it is made to appear that a person is held under two commitments may pass upon the legality of both, notwithstanding that the prisoner concedes that he is legally held under one, is supported by the authorities. The question a long time ago was pre*262sented to the Supreme Court of New York in Ex parte Badgley, 7 Cow. 472, where it was held that “where there are two causes of imprisonment, one good and the other invalid, the court may, on habeas corpus, discharge as to the invalid cause, remanding the prisoner as to the other.” This doctrine is followed in Ex parte Gibson, 31 Cal. 620, 91 Am. Dec. 546. See, also, 23 Cyc. 335; Church on Habeas Corpus, section 293, and notes.
¶5Passing, therefore, to the question of whether the sentence for life is valid or not, we are constrained to hold that that question is no longer an open one in this state. In State v. Beddo, 22 Utah, 432, 63 Pac. 96, the constitutionality of that portion of chapter 56, supra, by which it was attempted to amend section 4692, Rev. St. 1898, was squarely presented, and this court there held that said chapter was void in so far as it authorized the district attorneys to
¶6In this case the warden made return that he held the plaintiff under the commitment based upon the judgment for life imprisonment as well as upon the one for burglary. This being so, the prisoner is being illegally held by the warden under the first, but not so under the second commitment. The order, therefore, should be that the prisoner be conditionally discharged from imprisonment under the sentence for life imprisonment, but that he be remanded to the custody of the warden upon the sentence for burglary to be held by the warden upon the sentence until the board of pardons *263shall release the prisoner pursuant to the provisions of section 1686x13, supra; or until he is otherwise legally discharged from imprisonment. The discharge from -the life sentence should, however, not be absolute, but
¶7It is so ordered.