A statute which would render an act punishable in a manner in which it was not punishable when it was committed. 6 Cra. 138; 1 Kent 408. A law made to punish acts committed before the existence of such law, which, had not been declared crimes by preceding laws. Mass. Declar. of Rights, pt. 1, s. 24; Md. Decl. of Rights, art. 15. A law passed after the commission of the offence charged, which inflicts a greater punishment than was annexed to the crime at the time of commission, or which alters the situation of the accused to his disadvan- tage. 3 Wyo. 478. A law which, in its operation, makes that criminal which was not so at the time the action was performed; or which increases the punishment, or, in short, which, in re- lation to the offence or its consequences, alters the situation of a party to his disad- vantage. 2 Wash 366; 107 U. S. 228; see 65 Miss. 542; 6 Cra. 87; 43 N. J. L. 203; 29 N. Y. 124; 4 Wall. 325. Parliament, in virtue of its supreme power, may pass such laws, being sustained by discretion alone; 1 Bla. Com. 46, 160. By the constitution of the United States, congress is forbidden to pass ex post facto laws. U. S. Const. art. 1, § 9. And by § 10 of the same instrument, as well as by the constitutions of most, if not all, of the states, a similar restriction is imposed upon the state legislatures. Such an act is void as to those cases in which, if given effect, it would be ex post facto; but so far only. In cases arising after it, it may have effect; for as a rule for the future, it is not ex post facto. There is a distinction between ex post facto laws and retrospective or retroactive every ex post law must neces- sarily be retrospective, but not every retro- spective law is an ex post facto law; in gen- eral, ex post facto laws only are prohibited. Retrospective laws are prohibited by the constitutions of the states of New Hamp- shire and Ohio. See 15 Ohio 207; 27 id. 22; 50 id. 428; 107 U. S. 221; T. U. P. Charlt. 94. It is fully settled that the term ex post facto, as used in the constitution, is to be taken in a limited sensé as referring to crim- inal or penal statutes alone, and that the policy, the reason, and the humanity of the prohibition against passing ex post facio laws do not extend to civil cases, to case; that merely affect the private property of citizens. But the prohibition cannot be evaded by giving a civil form to what is, in substance, criminal; 4 Wall. 277; id. 333; 97 U. S. 385; 39 N. Y. 418; 43 Ga. 480; Hare, Am. Const. L. 547. Divorce not being a punishment may be authorized for causes happening previous to the passage of the divorce act; 40 Miss. 340. The constitution does not prohibit the states from passing retrospective laws gen- erally. Some of the most necessary acts of legislation are, on the contrary, founded upon the principles that private rights must yield to public exigencies; 8 Whent. 89; 17 How. 463; 8 Pet. 88; 11 id. 421; 9 Cra. 374; 1 Gall. 105; 2 Pet. 880, 523, 627; 7 Johns. 488; 6 Binn. 271; 60 Mo. 343; 59 How. Pr. 21; 93 Ill. 483; Cooley, Const. Lim. 265; 86 S. C. 454. See 73 Ia. 707; 74 id. 708. Test oaths of past loyalty to the govern- ment have been held void as ex post facto; 4 Wall. 333; except as pre-requisites to the exercise of the elective franchise; 47 Mo. 119; 39 Ν. Υ. 418. A law prohibiting the sale of intoxicating liquors is not er post facto, 5 R. I. 185; or a law imposing a ret- rospective tax; 81 N. J. L. 133; 20 Wall. 323; see 16 Pa. 63; s. c. 17 How. 856; 66 Ν. C. 361; or a law authorizing a divorce for past offences; 40 Miss. 349; 10 Ν. Η. 380; compare 3 Murph. (N. C.) 327; or a law providing that the punishment of future crimes shall be increased by reason of past offences; 68 Me. 409. Corporations cannot pass ex post facto by-laws: 31 Mich. 458. Laws under the following circumstances are to be considered ex post facto laws with- in the words and intent of the prohibition: 1. Every law that makes an act done be- fore the passing of the law, which was in- nocent when done, criminal and punishes such action. 2. Every law that aggravates a crime, or makes it greater than it was when committed. 8. Every law that changes the punishment, and inflicts a greater pun- ishment than the law annexed to the crime when committed; though it would be other- wise of a law mitigating the punishment; 3 Story, Const. 212. 4. Every law that alters the legal rules of evidence, and receives less or different testimony than the law required at the time of the commission of the offence, in order to convict the offender; 3 Dall. 390. This construction, it is said, "has been ac- cepted and followed as correct by the courts ever since; " Cooley, Const. Lim. 325. See 93 Cal. 427; 155 Mass. 163. This classification has been generally adopted as accurate and complete, but is not entirely so. Thus a law has been de- cided to be ex post facto which was intended to punish a criminal act, prosecution as to which was already barred by a statute of limitations; M