-An information was filed against the defendant *71accusing him of opening a faro game, and thus' violating sección 600, chapter IX, Penal Code, 1895.
The section reads as follows : ‘ ‘ Every person who deals, plays, carries on, opens or causes to be opened * * * any game of faro * * * or any banking or percentage game played with cards, dice or any device for money, * * * is punishable by fine not less than two hundred dollars nor more than one thousand dollars, and must be imprisoned in the county jail until such fine and costs of prosecution are paid, such imprisonment not to exceed one year, ’ ’ etc.
There was a trial to a jury. On motion of the defendant, the court charged the jury as follows : “This information is based upon section 600 of the Penal Code of the state of Montana. The agreed statement of facts concerning this section which was filed in the case of the state against Peter Kelly, by the agreement of the parties, is offered in evidence in this case. For the reasons given in the opinion of the court in that case, you are instructed that said section 600 was not enacted in conformity with the provisions of the constitution of this state, and is therefore void; and, for this reason, you are further instructed to return a verdict of not guilty. ’ ’
The defendant was acquitted. The state appeals.
Upon the trial, an agreed statement of facts was offered in evidence, which in substance recited the various acts of the legislature .bearing upon gambling, and recapitulating the his.tory of the bills affecting the subject of gambling. These matters will be more fully referred to later on. As will be noticed by the instruction of the court to the jury, the learned judge of the district court decided that the section numbered 600 of the Penal Code of the state, as codified and published, has no validity, and was not enacted in accordance with the provisions of the constitution. Whether or not that ruling was correct is the subject of the review by us.
Counsel for all parties have referred the court to the detailed history of the several bills and laws bearing upon gaming, to the end that we may correctly ascertain the exact condition of the statute under which the respondent was charged. *72It appears by the legislative records referred to that on Januaiy 17, 1895, house bill 35, entitled “A bill for an act to establish a Penal Code for the state of Montana, ’ ’ was introduced. By a suspension of the rules, the bill was read a first and second time by title only, and having been already printed, it was considered printed and referred to the code committee. The printed bill referred to was the Penal Code, as reported and printed in 1892 by the code commission appointed to codify the Criminal and Civil law and Procedure, and to revise, compile and arrange the statute laws of Montana, pursuant to the act of March 11, 1889 (16th sess. p. 116). This printed bill (or proposed Penal Code) had in it a chapter IX, headed ‘ ‘ Gaming, ” containing seven sections, numbered 360 to 367, inclusive. (Penal Code as reported for adoption in 1892, page 51.) These several sections are substantially like sections 600-607, chapter IX, Penal Code 1895, annotated, (or like sections of chapter IX, page 1071, Penal Code, Sanders’ Ed.) as published and in general use. They prohibited playing faro or any banking or percentage games of cards or dice for money or any representation of value. This will be seen by referring to section 600, quoted above.
On January 23, 1895, in the legislature, bill No. 35, for an act to establish the Penal Code, was reported back with certain amendments. Upon the House Journal for January 21, 1895 (page 121), we find that the committee on the Codes recommended the adoption of the Penal Code, with proposed amendments. The particular amendment affecting gambling was to strike out • ‘ all of chapter IX, page 51 of the Penal Code, consisting of sections 360 to 367, both inclusive; * * * ” and it was recommended that section 12 of an act entitled ‘ ‘ An act to amend an act entitled ‘An act concerning licenses, ’ approved September 1±, 1887, be substituted as section 357, as follows. ’ ’ Then follow the provisions of the act of September 11, 1887, fixing the licenses to be paid by persons keeping houses or saloons where games for money are played, and imposing upon those who violate the provisions of the section the same penalties originally imposed by the law of 1887.
*73The committee on Codes, in the same report, also recommended that sections 1 to 13, both inclusive, of an act entitled “ ‘An act to prohibit certain gambling games, and fixing penalties for the violation thereof, ’ passed at the 16th legislative assembly, and approved February 20, 1889, be inserted as sections 358 to 369a, consecutively, as follows.” Then follow the several sections of the law of 1889, which counsel designate in their argument as the ‘ ‘ Hunt Bill of 1889. ’ The provisions of this law prohibit a large number of specified gambling games, but expressly did not prevent or prohibit the licensing and conducting, according to law, of the games called ‘ ‘ faro bank ’ ’ and ‘ ‘ round the table poker. ’ ’
The recommendation of the committee on Codes was adopted by the legislature, and on January 31st the Penal Code was finally passed. The enrolled bill contains as part of chapter 18 of title IX of part I of the act adopting a Penal Code, sections numbered 357 to 369a, inclusive, appropriately numbered, and as brought into the bill by the amendments recommended by the committee on Codes, hereinbefore referred to, and adopted on January 2éth. We therefore had in the Penal Code, as passed by the legislature no chapter IX under the head of ‘ ‘ Gaming. ’ It was wholly wiped out, and with it went the law which prohibited faro and certain other gambling games. But the legislature did not stop there. They had gone farther, and, in their discretion and power, they adopted the law of 1889, and thus expressly authorized certain games of cards, including faro to be played for money, and prevented the playing of such others as had been prohibited before the adoption of the Codes. In other words they were not willing to abolish gambling entirely; so they rejected the recommendations of the Code commission, and restored the laws to the condition they were in when the legislature met. In doing so, they saw fit to annex the provisions of the re-enacted law of 1889 to chapter VIII, and let them follow in regular numerical order the last section, under the head of “ Lotteries. ’ ’
Now, let us see whether, by subsequent action of the legisla*74ture, this express permission to play faro and certain other games, embodied in the re-enacted law of 1889, was revoked by any repeal or other valid act. On February 4, 1895, sen-" ate bill No. 48, entitled “An act to amend chapter IX of the Penal Code of the state of Montana,” was introduced. On February 28, 1895, this bill became a law. Its title, as appears by the enrolled bill, reads as follows : “ Senate Bill No. 48, £An act to amend chapter nine of the Penal Code of the state of Montana. ’ ” It then proceeded : “ Be it enacted by the legislative assembly of the state of Montana: Section 1. That chapter IX of the Penal Code of the state of Montana be amended as follows : Strike out sections 357 — 369a, inclusive, and insert in lieu thereof, the following : Section 360.” Section 360 of this senate bill is substantially the same as the printed section 600, chapter IX (entitled “Gaming”) page 1071, of the Sanders’ Codes, or the same chapter, same title, of the Montana Annotated Codes (volume 2). It is somewhat more ample than section 360, originally reported by the Code commissioners, although, doubtless, the general prohibition against gambling would have extended to all games for money, whether enumerated or not. But, as said before, chapter IX, concerning gaming, was already stricken out by the legislature; bill No. 35, for a Penal Code, having passed both branches some five days before senate bill No. 48 was introduced. The Penal Code had not become a law, for the governor did not approve it until February 19, 1895. There was therefore before the body no chapter IX concerning gaming to be amended in the Penal Code, as chapter X followed chapter VIII. There were, however, in the Penal Code or house bill No. 35, at the time of its passage, as “An act to establish a Penal Code, ’ ’ and as appears by the enrolled bill, three chapters IX, under different parts, titles, and subdivisions. One chapter IX is. entitled “False Weights and Measures,” and pertains only to matters appropriate to its heading (sections 960-963, Penal Code 1895). Another chapter IX, headed “ Postponement of a Trial, ’ ’ relates entirely to any continuances which a defendant or the state may desire in criminal *75cases (sections 2010-2014, Penal Code 1895). Another chapter IX is entitled ‘ ‘ Proceedings against Corporations, ’ ’ and relates entirely to indictments or informations found or filed against a corporation within the state (sections 2570-2579, Penal Code 1895).
The senate bill must be regarded as an independent bill. So that, even if the legislature, by the senate bill, could have amended the Penal Code, regarding the latter as another bill which had not yet become a law, what one of the three existing chapters IX did the Senate bill No. 48 refer to ? The constitution will easily guide us to a conclusive answer. ‘‘No bill, except general appropriation bills, and bills for the codification and general revision of the laws, shall be passed containing more than one subject, which shall be clearly expressed in its title; but if any subject shall be embraced many act which shall not be expressed in the title, such act shall be void only as to so much thereof as shall not be so expressed. ’ ’ (Const. Mont. art. V, § 23.) “No law shall be revised or amended, or the provisions thereof extended by reference to its title only, but so much thereof as is revised, amended or extended, shall be re-enacted and published at length. ’ ’ (Id. § 25.)
Who could ever tell by the title of the act that it related to any particular one of the several subjects included in the several chapters numbered IX in the Penal Code ? 'There was not even a reference to a “title,” or a “subject,” or a “part” of the many titles and subjects, and of the several parts of the Code sought to be altered by the bill. Was any subject clearly expressed in such a title ? Manifestly not. Its ambiguousness is too plain to require comment. Referring to a similar act, the New York court of appeals said: “To sanction such a procedure would be to override and nullify a clear, plain and mandatory provision of the constitution.” (People v. Hills, 35 N. Y. 449.)
The authorities hold that formerly the title was no part of the act (Lane v. Commissioners of Missoula Co., 6 Mont. 480); but under constitutional mandates like that *76of Montana, quoted above, it is an indispensable part of every act. (Sutherland on St. Const. § 86.) Whether the reference to the subject may be meager or not we need not now decide, but it seems that the true and actual subject should be expressed. (Mayor, etc., v. Colgate, 12 N. Y. 146; State v. Miller, 45 Mo. 495; Tingue v. Village of Port Chester, 101 N. Y. 294, 4 N. E. 625; and cases referred to in note to Davis v. State, 61 Am. Dec. 337.)
The objects of requiring an expression of the subject in the-title are thus clearly stated by Judge Cooley (page 175, Const. Lim.): “It may therefore be assumed as settled that the purpose of these provisions was: First, to prevent hodgepodge or ‘log-rolling’ legislation; second, to prevent surprise or fraud upon the legislature by means of provisions in bills of which the titles gave no intimation, and which might therefore be overlooked and carelessly and unitentionally adopted; and, third, to fairly apprise the people, through such publication of legislative proceedings as is usually made, of the subjects of legislation that are being considered, in order that they may have opportunity of being heard thereon, by petition or otherwise, if they shall so desire. * * * The general purpose of those provisions is accomplished when a law has but one general object, which is fairly indicated by its title. To require every end and means necessary or convenient for the accomplishment of this general object to be provided for by a separate act, relating to that alone, would not only be unreasonable, but would actually render legislation impossible.” (Vide extended note to Davis v. State, 61 Am. Dec. 337.)
Our imperative duty is to uphold the constitution when a statute conflicts with it. Whether the legislation being inquired into is good or bad, moral or immoral, in its tendencies, cannot enter into our examination of the questions involved. If the legislature has violated constitutional commands in the enactment of the senate bill now printed as a law of the Penal Code, we must declare that it has. It were far better at this time, in the early history of this new state, that *77a legislative act be declared invalid than that precedent be set by which plain provisions of the constitution may be nullified by loose and questionable interpretations of our fundamental law. (State ex rel. Woods v. Tooker, 15 Mont. 8.)
Being of opinion that the senate bill printed as sections 600 to 607 of the Penal Code did not clearly express any subject in its title, it follows that it was passed in violation of the constitution. As a consequence, the sections of said act have no proper place in the published Codes, and should be expunged therefrom. Respondent concedes that the same laws which were in force in 1889, re-enacted as part of chapter 8 (sections 357-369a), Penal Code, are alive, and must control now.
The order of the district court directing the acquittal of the defendant is affirmed.
Affirmed.
Pemberton, C. J., and De Witt, J., concur.