delivered'the opinion of the court.
Counsel for defendants in error urge upon our attention at the outset, that this court is without jurisdiction to entertain these cases, for the reason that the contempts of which plaintiffs in error were ad-. judged guilty are civil, and not criminal, in their nature. This is an important question, because under the act regulating the jurisdiction of this court to review causes on appeal or error, it has no jurisdiction *466to review judgments in civil contempts in the absence of conditions or questions involved by virtue of which jurisdiction would attach as in other civil proceedings brought here for review either on appeal or error. The line dividing criminal from civil contempts is often indistinct, and in some respects the cases are not altogether harmonious on the subject, so that it would be difficult to formulate any rule under which the two classes could always be distinguished, because in many instances the two gradually merge into each other. The authorities, however, appear to agree that proceedings in contempt are criminal in their nature when the sole object of the prosecution and the judgment pronounced against one adjudged guilty of contempt is to preserve the authority and power of the courts, and to punish a disobedience of their orders, in order to vindicate the rights of the public, and is in no sense for the protection or enforcement of the rights of an individual litigant.—7 Enc. of Law, 2 ed. 28; People ex rel. v. Court, 101 N. Y. 245; In re Nevitt, 117 Fed. 448.
Under this rule it is clear that plaintiffs in error were prosecuted for and found guilty of a criminal contempt. The plaintiff in the original action out of which the proceedings in contempt arose had no private interest in the subject-matter of controversy. His interest was the same as that of every other citizen of the city of Denver. The purpose of his action was to prevent what he conceived to be the perpetration of a threatened public wrong by the mayor and aldermen. , The object of the judgments in contempt was not to protect his interest, but solely to punish the plaintiffs in error for a disobedience of the process of the court, thereby vindicating its authority in a manner which would operate to prevent the commission of the offense by others.
The important question in the case is whether *467the district court was vested with'jurisdiction to issue the injunction for the violation of which the plaintiffs in error were adjudged guilty of contempt, because, in the absence of. such jurisdiction, the writ of injunction was void, and the disobedience of an injunction granted without jurisdiction does not constitute a contempt of court.—Newman v. Bullock, 23 Colo. 217; Smith v. People, 2 Colo. App, 99; 7 Enc. Law, 2 ed. 57,
The purpose of the action instituted by plaintiff in which the injunction was issued was to prevent the passage of an ordinance unless amended in the particulars specified. It was not claimed in the complaint that the aldermen had no authority to pass, or the mayor to approve, such an ordinance, or that in so doing they would violate a trust, or that if the ordinance was for any reason illegal, it could not be successfully attached after passage. On the contrary, the sole reason deducible from the complaint why they should be enjoined, was, that in the judgment of the plaintiff the ordinance was impolitic, and that the interests of the city would be better served if the ordinance was amended in the particulars pointed out. It will thus be seen that the only difference between plaintiff and the aldermen and mayor with respect to the ordinance in question was one of judgment. In other words, while the plaintiff did not question the authority of the aldermen and mayor to pass and approve the ordinance in question, impugn their motives, or state any facts from which it would appear that if the ordinance for any reason was illegal, its enforcement could not be arrested, he assumed that in his judgment the aldermen and mayor were not acting wisely, and therefore should be inhibited from passing and approving the ordinance unless it comformed to his notions with respect to matters which it embraced. Inasmuch as the au*468tkority of the plaintiffs in error to pass and approve the ordinance is not questioned, we shall assume, for the purposes of these cases, that in framing its provisions- they were exercising a discretionary power vested in them by law. Whether, in passing and approving the ordinance the aldermen and mayor were exercising- legislative or contractual functions, or both, is immaterial, for the authorities are unanimous that the exercise of functions within the scope of their authority by local legislative bodies of municipal corporations, legislative in their character, or' which involve the exercise of a discretion, cannot be directly controlled by the courts, where, as in this instance, the only ground upon which it is attempted to control these functions in advance is based upon the proposition that the action which it is sought to arrest is unwise or impolitic; or, briefly, when the only question is one of expediency, a court of equity is without jurisdiction to inhibit the action of local legislative bodies of municipal corporations.—Lewis v. Water Works Co., 19 Colo. 236; New Orleans W. W. Co. v. New Orleans, 164 U. S. 471; Stevens v. St. Mary’s School, 144 Ill. 336; Bond v. Mayor of Newark, 19 N. J. Eq. 376; Cape May & S. L. R. R. Co. v. City, 35 N. J. Eq. 419; State ex rel. Rose v. Superior Court, 105 Wis. 651; Des Moines G. Co. v. City, 44 Iowa 505.
Any other rule would be subversive of our system of government. The general assembly has empowered the local legislature of the city of Denver of which plaintiffs in error are members, to pass ordinances of the character in question, as well as others intended for the government and control of municipal affairs.
In passing and approving the ordinance in question the plaintiffs in error were required to exercise their own judgment and discretion, and not the judg*469ment and discretion of another branch of the government, and yet, if the injunction «should be upheld, it must be upon the theory that the judicial department had the power to strip the plaintiffs in error of the authority conferred upon' them by law, and direct that its judgment and discretion be exercised instead of theirs. Such an assumption of authority would be the exercise of a power which the judicial department does not possess, and result, if upheld, in permitting that department to exercise legislative functions and supervise the making of laws, instead of confining it to its legitimate sphere, namely, construing and applying the law.
Counsel for defendants in error direct our attention to New York cases upon which they principally rely to support their contention that the judgment of the district court in adjudging plaintiffs in error guilty of contempt is correct. The-first case we shall notice is Davis v. Mayor, 1 Duer 451, wherein aldermen were adjudged guilty of contempt because, notwithstanding the service of a writ of injunction commanding them not to pass an ordinance, they proceeded to do so. It appears from a reading of the opinion in that case, that the judgment of the court in finding the aldermen guilty was based upon the ground that if the court issuing the injunction had the power, under any circumstances to order the writ against the aldermen, then the fact that the complaint upon which it was based was insufficient, was immaterial. In other words, the court announced that unless it had no authority in any circumstances to enjoin the action of the aldermen, the writ was not void. That case subsequently was heard by the court of appeals—9 N. Y. 263—where the judgment was affirmed, practically upon the same proposition.
Negus v. City, 62 How. Pr. 291, was also a proceeding against the members of the common council *470of the city of Brooklyn to restrain them from passing an ordinance. In that case it was declared, in substance, that while the courts had no power to directly control the exercise of the discretion of the common council, yet, when the members threaten an abuse or illegal exercise of such discretion, and especially when they claim the right to exercise powers which they do not possess, that the court had the authority to prevent such action, by injunction. The writ was issued and the council passed the ordinance. The members voting for its adoption, were found guilty of contempt. Their appeal from this judgment is reported in 27 Hun, 548, under title of People v. Dwyer. The opinion does not touch the subject of jurisdiction at qll, for it appears that the aider-men undertook to excuse their conduct in disobeying the injunction upon the ground that in passing the ordinance which the writ prohibited, they were acting as agents of the state, and not on behalf of the city. The case was finally determined in 90 N. Y. 402, where the judgment adjudging the aldermen guilty of contempt in disobeying the injunction was affirmed upon the ground that whether the ordinance which they were prohibited from passing was or was not of a legislative character, or whether other facts upon which the court acted in issuing the writ justified the interposition of equity, were questions for the court to investigate, and it had the power to prohibit action until it could investigate and finally decide the question, and that therefore the remedy of the aldermen was by an appeal from the judgment in which the injunction writ was issued, and not by a disobedience of its mandate. It would seem, therefore, from a study of these cases, as finally decided by the court of appeals, and as reported in 1 Duer, that the decisions are based substantially upon the proposition that because a court *471of equity in some eases might have the power to inhibit legislative action by a city council, it had general jurisdiction in such matters, or that a court of equity had the authority to decide whether the case made by the complaint entitled the plaintiff to a writ of injunctioü or not, and therefore its writ of injunction was not void, even though issued upon a complaint which did not state -a case authorizing its issuance. These cases have been criticised by other tribunals, and the doctrine they announce repudiated. In Alpers v. City, 32 Fed. 503, Mr. Justice Field, in commenting on the Davis case, stated that in his opinion, a municipal body, clothed with legislative power, was not subject to the restraint and control of the courts the same as any other body, natural or artificial.
The supreme court of Illinois, in Stevens v. St. Mary’s Training School, supra, also notices these New York cases, and concludes that the later decisions of the tribunals of that state have practically overruled them. While our attention is not directed to any particular New York case which in direct terms has overruled these cases, the subsequent decisions of the courts of that state to the effect that the functions of municipal authorities involving discretion, when that question alone is involved, cannot be directly controlled by the courts, have in reality overruled those eases, because if the courts have no jurisdiction to coiltrol discretionary acts in such circumstances, they have no authority to issue a writ of injunction for that purpose.
In State ex rel. Rose v. Superior Court, supra, the Wisconsin supreme court also takes occasion to notice that the later cases from New York seem to condemn the restraint of a common council by injunction, when acting within its power and discretion.
*472Our attention is also called to the fact that in Lewis v. Water Works Co., supra, language employed in Davis v. Mayor, supra, is quoted, to the effect that a court of equity may interfere with the legislative and discretionary power of a city council when it is necessary to prevent abuse, injustice, or the consummation of a fraud. "While this quotation is made, it was not intended as an authority in support of the proposition that because in such circumstances it might be true that a court of equity would restrain by injunction the action of' the legislative body of a municipality, that therefore the jurisdiction of a court, in an action to restrain such body, could not be collaterally questioned in any case, but rather for the purpose of leaving open the question as to when an injunction might lie to restrain action of municipal authorities. The distinction between a complaint which is .merely defective, and one which does not state a case of which the court has jurisdiction, was discussed in People ex rel. L’Abbe v. District Court, 26 Colo. 386. In that case it was contended by counsel that because the district court was vested with general jurisdiction to issue injunctions, its right to exercise that power in a particular case-could not be inquired into in a proceeding where the-only question involved was its jurisdiction. This point was decided adversely to that claim, because, while the district court as a court of equity has jurisdiction to enjoin action, it has no authority to do so in a case which does not belong to the class in which it has jurisdiction to issue injunctive process.
Inferentially, the same distinction is made in Frost v. Thomas, 26 Colo. 223, and Greenwood v. Routt, 17 Colo. 157. Each of those cases was an action against the governor. In the first case he was required by mandamus to do an act which it .was determined was merely ministerial. In the latter case *473an injunction, the purpose of which was to enjoin him from exercising executive powers, was refused. Both decisions were based squarely upon the question of jurisdiction; that is, in the former it was held that the court has jurisdiction, while in the latter it was held that.it had not.
Jurisdiction of a court of equity includes not only the power to hear and determine, but also the power to render the particular judgment in the particular case presented.—Newman v. Bullock, supra. If the court does not possess such power as to the subject-matter of the action, or the authority to render the particular judgment pronounced, then the judgment rendered in either instance is without its jurisdiction. We do not go to the full extent of holding that a court of equity may not in any ease inhibit the action of a city council which involves legislative or discretionary powers, for the obvious reason that the case made by the plaintiff on the complaint presented to the district court does not call for a decision of this proposition. Conceding, for the sake of argument, that in a proper case the district court would have jurisdiction to prevent the action of the council which involved the exercise of legislative or discretionary functions upon its part, it by no means follows that the jurisdiction of the court to issue an injunction could not be inquired into collaterally in any case. Its jurisdiction to i'ssue an injunction to restrain the city council does not depend upon the sufficiency of the complaint under which it was issued, but, rather, upon the question of whether or not the case made or attempted to be stated belonged to the class in which it could grant equitable relief through injunctive process. That is to say, if it appeared from the averments of the complaint that the case did not belong to the class which, as a court of equity, it could take cognizance of, and inhibit the *474action of the city council, then it would be without jurisdiction, while on the other hand, if it appeared from the statements in the complaint to belong to the class of which it did have jurisdiction, then the issuance of a writ, although the facts stated might not be sufficient to justify such action, would be in a case of which it had jurisdiction, and its process would not be void. The purpose of the plaintiff in presenting his case was to control an exercise of legislative and' discretionary functions of the plaintiffs in error, pure and simple. No attempt was made to state facts which invested the court to which the complaint was presented with jurisdiction to control these functions; so that the case in which the injunction issued was not one where the complaint was mere insufficient, but, on the contrary, the complaint did not attempt to state a case belonging to the class of which the court had jurisdiction to grant the relief prayed.
The judgments of the district court are reversed and the causes remanded, with directions to discharge the plaintiffs in error.
Reversed and remanded.