This is an injunction proceeding brought in the District Court of Sheridan County by the plaintiff in error against the defendant in error for the purpose of restraining the latter, as Prosecuting Attorney of Sheridan County, from prosecuting the former for violations of the provisions of Chapter 65, Session Laws of 1901, being an act prohibiting gambling within the State of Wyoming. Plaintiff in his amended petition alleges, among other things, that on the 28th day of July, 1904, he was granted licenses by the town of Sheridan, permitting him to conduct and carry on games of faro and roulette in a building occupied by him in said town; that said licenses were issued under and by virtue of an ordinance regularly enacted by the Town Council of said town; that the authority for the enactment of said ordinance is found in the provisions of a special charter granted by the Legislature of the Territory of Wyoming for the incorporation of said town, wherein among other powers granted, the town is empowered and authorized “to levy and collect a license tax from billiard tables, bowling alleys, and other games and gaming tables”; that said pro*178vision of 'said charter was not repealed by' said 'Chapter 65, and is still in full force and effect; that, notwithstanding said licenses, the defendant, in the name of the State of Wyoming, filed three informations in the District Court of Sheridan County charging plaintiff with violations of the provisions of said Chapter 65; and that defendant threatened to file additional informations against plaintiff for each and every violation of said statute. It is further alleged in the petition that said Chapter 65 is unconstitutional and void. Plaintiff prayed for a temporary restraining order enjoining the defendant from interfering with the plaintiff in carrying on, running or conducting the games of faro and roulette within the corporate limits of the town of Sheridan, and from causing further arrests of the plaintiff: and that at the final hearing said temporary injunction should be made permanent. Defendant demurred to the petition on the following grounds: “ (1) That the said amended petition does not state facts sufficient to constitute a cause of action; (2) that this court has no jurisdiction of the subject of the action.” The demurrer was sustained by the court and plaintiff refusing further to plead, judgment was entered dismissing the action and awarding costs to defendant, from which judgment plaintiff brings error to this court.
The principal question that confronts us, and one which we think is decisive of this case, is whether a court of •equity has jurisdiction to afford the relief sought by the plaintiff. The jurisdiction of a court of equity, unless expressly made so by statute, is limited to the protection of the rights of property. It has no jurisdiction over the prosecution of crimes. To assume such jurisdiction is to invade the domain of the courts of law and both the executive and .administrative departments of government. Let us investigate for a moment where the contention of plaintiff if sustained would lead. The defendant is the Prosecuting Attorney of Sheridan County charged with the duty of prosecuting within his county all infractions of the criminal laws *179■of the state. He was proceeding under the provisions of a general statute of the state making gambling a crime and prohibiting the same. Criminal prosecutions are conducted in Wyoming in the name of the state. The prosecuting ■officer is a mere agent of the state, which is the real plaintiff, in every criminal proceeding. We have, therefore, in this ■case the strange anomaly of a court of equity being asked to issue an order of injunction to restrain the state from ■exercising one of its highest prerogatives in the maintenance of government. Courts of equity possess no such power. To hold that they do would be to invest them with power to restrain and paralyze the operation of the government itself in all its functions and departments. If a court of equity were to assume jurisdiction of the case at bar and try the issues involved, it would be equivalent to a trial of the criminal action here sought to be restrained. The guilt or innocence of the plaintiff would be the fundamental question for the court to determine, and as bearing upon this feature of the case, the court would have to pass upon the constitutionality of the law under which the criminal proceedings were instituted, and the validity of the ordinance under which the licenses were granted to the plaintiff. These are proper, matters of defense in the criminal proceedings. Under our system of jurisprudence, ■criminal actions can only be tried by a juryj while the trial of actions in equity have always been reposed in the court, and have never been the proper subject of reference to a jury. Neither the criminal actions again.st the plaintiff nor the infirmities of the statute, if any there be, can be lawfully determined in this proceeding. (Am. & Eng. Ency. Law, Vol. 16, p. 370, and cases there collected; Crighto v. Dahmer et al., 21 L. R. A., 84; Suess v. Noble, 31 Fed., 855; In re Sawyer, 124 U. S., 200; Portis v. Fall et al., 34 Ark., 375; High on Injunctions, Sec. 68; Poyer v. The Village of Des Plaines, 123 Ill., 111; Phillips v. Mayor, 61 Ga., 386.) In Suess v. Noble, supra, Love, District Judge, said: “Public offenses are prosecuted in England in the name of the *180King, and in the United States in the name of the state. It is manifest that neither the King nor the state could be made a defendant to a bill in equity. The restraining power of the court would be futile as against them; and it would avail nothing for the court to address its restraining process to public and private prosecutors, even if the power to do so existed, since the state could find other agents to represent it in criminal proceedings. Courts of equity, therefore, deal only with civil and property rights. They have no jurisdiction to give relief in criminal cases, and they will not, therefore, interfere by injunction with the course of criminal justice.” Mr. Justice Gray, delivering the opinion in In re Sawyer, supra, said: “The office and jurisdiction of a court of equity, unless enlarged by express statute, are limited to the protection of rights of property. It has no jurisdiction over the prosecution, the punishment or pardon of crimes or misdemeanors, or over the appointment and removal of public officers. To assume such a jurisdiction, or to sustain a bill in equity to restrain or relieve against proceedings for the punishment of offenses, or for the removal of public officers, is to invade the domain of the courts of common law, or of the executive and administrative department of the government.” It is contended, however, that equity will intervene to restrain a criminal prosecution under a void statute.' Let it be conceded. But it will not try the validity of the statute, and will not interfere until the statute has been declared void in the proper legal tribunal. In Poyer v. Des Plaines, supra, the court said: “The questions arising in the prosecution sought to be enjoined can be determined in the tribunal in which they are pending, or in that to which they may be taken by appeal. The legality or illegality of the ordinance is purely a question of law, which the common law court is competent to decide. If the defendant is not guilty of violating this provision, as alleged, the determination of that fact is peculiarly within the province of that court. In either event, appellant had a full and completé defense at law.” In the *181same case it is further held: “If the municipal law be of doubtful validity, the complainant cannot by his wilful and repeated violation of its provisions, each furnishing separate grounds for prosecution and depending upon separate facts, create this ground for equitable interposition without first settling 'the validity of the ordinance in the courts of law. If he fears the prosecution of other suits he can refrain from the repetition of his acts in violation of its provisions until the proper forum. has determined its invalidity.” In West v. Mayor, 10 Paige, 539, Chancellor Walworth, in delivering the opinion of the court, says: “The question as to the validity of the corporation ordinance does not properly belong to this court for decision, where the complainants, as in this case, have a perfect defense at law if the ordinances are invalid, or if they do not render the complainants, or those in their employ, liable for the penalty. And it would be a usurpation of jurisdiction by this court if it should draw to itself the settlement of such questions, when their decision was not necessary in the discharge of the legitimate duties of the court.” In Phillips v. Mayor, supra, where it was sought to restrain the municipal authorities of the town of Stone Mountain, Georgia, from prosecuting the plaintiff for the violation of an ordinance requiring retail liquor dealers to close their places of business during the continuance of divine services, arid alleging the invalidity of the ordinance, the court said: “Injunctions or orders in the nature of injunctions are not granted by courts of equity to restrain proceedings in criminal matters. For this reason, whatever may have been the infirmities of the' penal ordinances of Stone Mountain, an injunction in the present case was properly denied. If unlawful convictions take place before a municipal court, reversal can be had in the superior court, as a court of law, by certiorari. This is a plain and adequate remedy, and a court of equity need not and cannot interfere. Chancery takes no part in the administration of criminal law. It neither aids the criminal courts in the exercise of jurisdiction, nor restrains *182or obstructs them.” We are of the opinion that the plaintiff has a clear and adequate remedy at law, not only to have the question of his guilt or innocence determined, but also the validity of the statute upon which the informations are based.
It is contended that property rights are here involved and that injunction will lie to restrain a criminal prosecution when necessary to protect such rights. In such cases equity intervenes, if at all, not in restraint of the criminal proceedings, but rather in aid of the civil jurisdiction of the court. It merely suspends the criminal proceedings until the property rights can be determined. It does not assume. jurisdiction of the criminal action. It only prevents the criminal process from interfering with the exercise of its jurisdiction in the civil proceeding under consideration. The only'right of the plaintiff affected is the enjoyment of the privileges afforded by the licenses. The permission granted by these licenses is not a property right. A license is a mere permit to do something that without it would be unlawful. • It is not a contract, nor does it convey any vested right. It is issued in the exercise of the police power of the state and may be modified, revoked or continued at its pleasure. Statutes under which licenses have been granted may be repealed, and it is held that such repeal is not any violation of the constitutional provision forbidding the enactment of laws impairing the obligations of contracts; nor does such repeal deprive the licensee of his property without due process of law. (Am. & Eng. Ency. Law (2d Ed.), Vol 17, p. 262.)
For the reasons above stated, the trial court committed no error in holding that the temporary injunction was improperly issued, and in sustaining the demurrer and dismissing the action. The judgment is affirmed. Affirmed.
Potter, C. J., and Beard, J., concur.