This action is under an act of the territorial legislature of Idaho, passed January 30, 1885, being sections 534-542, inclusive, of the Code of Civil Procedure, and its purpose is to try the .title of the respondent to the office of sheriff of Boise county. It has the usual provisions for obtaining jurisdiction of the parties, the formation of issues by pleading, *533the trial of the issues, and the rendition of judgment, with the further privilege of appeal to this court. The proceeding is-called by the act an “action,” and it is so treated by both parties, and it must be so considered for the purposes of this appeal. Its purpose, however, is to attain the end reached by a writ of quo warranto at common law, or a writ of right for the king, against him who improperly claimed or usurped an office. .Suc-h a writ is not suited to our form of government, and in America it has fallen into disuse, and statutory proceedings in the nature of a writ of quo warranto have, in most of the states, if not all, taken its place. Those statutes vary in the estent of the remedy which they furnish; some, as in Alabama (Ala. Stats., Feb. 3, 1840, sec. 4), make of the court a mere inquisition to ascertain the regularity of the election. These have been held not to confer judicial power upon the court, as in a suit at common law; hence, that exercise of the right to hear and decide is rather in the character of supervisor of elections, and does not require the intervention of a jury. In other states this statutory proceeding has approximated more nearly in its scope to the writ of quo warranto; still Retaining the criminal form of that writ, but using it as a civil remedy only. In our own territory our legislature has gone much further, and includes within its act the full scope of an information in the nature of a writ of quo warranto, including its criminal features and power to punish. Suth information in the nature of a writ of quo warranto was properly a criminal method of prosecution, as well to punish the usurper by a fine for the usurpation of the franchise as to oust him, or seize the office for the crown. (Paine on Elections, 710.) This law not only provides for supervision of elections and the correction of errors, but it goes further, and places in the court unmistakable judicial powers. Section 541 provides “that when a defendant, against whom such action has been brought, is adjudged guilty of usurping or intruding into, or unlawfully holding, any office, franchise, or privilege, judgment must be rendered that the defendant be excluded from the office, franchise, or privilege, and that he pay the costs of the action. The court or the judge may also, in its or his discretion, impose upon the defendant a fine not exceeding $2,000 dollars.” Here are questions not merely *534as to regularity of an election, but also as to personal guilt or innocence, followed by pecuniary consequences of no small moment. It aims not only at a civil remedy, but also at a criminal trial, personal punishment, and pecuniary fine and loss. The .act of willful intrusion into a public office, to which one has not been elected, is declared to be a misdemeanor. (Idaho Rev. Stats., sec. 6388.)
The section of the act in question, under which the district .'Judge, at chambers, assumed jurisdiction, and tried this case, is •section 536 of the act 1885, providing, among other things: ■“And such action shall be heard and determined by the judge of the district court at chambers and without the intervention of a jury, after due service of the summons, and the expiration of time allowed by law for answering the complaint in a civil action; but no judgment shall be rendered in such action by default.” This is an essential provision of the act, and without which the other provisions are inoperative. If this is unconstitutional, as the respondent claims, the remedy under the act fails. This objection was taken by the respondent before the answer was filed. His exceptions to the ruling were then and there settled by the judge, and are incorporated as a part of the statement of the case on appeal. The respondent still stands upon such objection and exceptions in this court. It is true that the court, upon the hearing, found for the defendant, and that the defendant does not appeal. Yet it is not easy to see, if the objection was valid when it was taken, how his failure to appeal from a finding in his favor, where he has all along, and on the appeal, insisted on his objection, should be ■construed as a waiver of his exception. If, indeed, in any case, it might be so waived, it cannot be so in this case; for the objection goes to the jurisdiction of the court, to the validity -of the statute, and not merely to an irregularity. That is not .subject to such waiver. If that part of the act is void, the objection may be made at any time, even on appeal. The grounds on which it is urged that this provision is unconstitutional are '(1) that it denies the right of trial by jury; (2) that it creates tribunal unknown and unauthorized by the laws. Section 1868 of the Revised Statutes of the United States, as amended April 7,1874, prescribing and limiting the powers of territorial *535legislatures, provides that “no party shall be deprived of the right of trial by jury in cases cognizable by the common law.” Again (TJ. S. Const., art 3, sec. 2), “the trial of all crimes, except in cases of impeachment, shall be by jury.” Again (TJ. £>. Const., art. 5, Amend.), “no person shall be deprived of life, libert}», or property without due process of law.” And again (TJ. S. Const., Amend. 7), “in suit at common law, where the value in controversy shall exceed twenty dollars, the right of -trial by jury shall be preserved.” There seems to have been a disposition in some states, under their own constitutions, to ■evade these provisions, whether of the United States or state constitutions, or such of them as clearly affect this case. Some courts have gone so far as to deny squarely that proceedings of this nature are of legal, instead of equitable, cognizance. A Missouri case (State v. Lupton, 64 M.o. 415, 27 Am. Rep. 253), so holds. But this case is met by the New York court of appeals in People v. Railroad Co., 57 N. Y. 161, in which ease the court holds that an action in the nature of a quo warranto, brought by the attorney general, in the name of the people of the state, to try the title to a corporate office, to which there are several claimants, is one of legal and not equitable cognizance; that the issues therein are strictly legal ones; and that the trial •of such by a jury is the constitutional right of the parties. The constitutional guaranty of the right of trial by jury in that .state goes no further than the provisions of the federal constitution and the act of Congress cited, section 1868, as amended, ■and made especially to apply to our territorial legislature. Nor can the territorial legislature pass any law in contravention of the constitution or the laws of the United States. (U. S. Rev. Stats., 1851.) In other eases, as in the state of Illinois, the statute itself only confers a supervisory power over the regularity of the election, and does not at all apply to much of the ground covered by the statute of Idaho. A Louisiana court, in Joseph v. Bidwell, 28 La. Ann. 382, 26 Am. Rep. 102, holds that the' federal constitution in that respect can have no application to the state courts. Perhaps, as Louisiana is a sovereign state, that claim may be sustained. Other cases cited by the appellant hold the same. But we are not called upon to discuss that question. Idaho is not a state, but is a territory of the *536United States, and in all things subject to the constitution of the United States and the laws of Congress. Section 1868 of the United States Eevised Statutes, as amended, seems to meet this ease, and is conclusive. Even were this otherwise, and the question arose under the common law, which is adopted in this territory (Rev. Stats., sec. 18), the weight of authority is in favor of the construction given by the New York court of appeals in the case in that state above cited, but arising under the state constitution. (See, also, Reynolds v. State, 61 Ind. 392; People v. Van Slyck, 4 Cow. 297; People v. Ferguson, 8 Cow. 103.) But it is contended by the appellant that, if the issues here are triable by jury, and the objection was or is properly taken, and for that reason the judgment should be reversed, still a new trial should be granted. The answer to this may be that the proceedings in the court below were under the act in question, and, if wrong, it is because that part of the act on which they are based is invalid, and m> valid judgment could be had; that, while the action in its present form cannot proceed, amendment changing its nature and purpose is not authorized by law. We are not called on to decide that point. There is no intimation of a purpose to-amend or change the proceeding in any way, even if allowable. The term of office of the defendant expired in January, 1889,. and we see no purpose which could now be reached by any proceeding of this nature. All that part of section 536 of the act entitled “ An act to amend chapter 35 of the Code of Civil Procedure, being sections 534 to 542, inclusive,” approved January 30, 1885, beginning at the words “and such action,”' in the fourth line thereof, to and including the words “in a civil action,” in the eighth line thereof, must be declared unconstitutional and void, and the judgment herein must be reversed.