It is the position of the appellant Pabst Brewing Company on this appeal that its motion for summary judgment should have been granted because under the undisputed facts the plaintiffs at the time of commencement of the action at most had. only a cause of action at law for damages against appellant, and, therefore, there would be a misjoinder of causes of action unless the action be dismissed as to appellant. The following three reasons are advanced in support of the contention that no cause of action in equity to abate the nuisance existed at the time of institution of suit in behalf of plaintiffs against appellant:
(1) Appellant never had any right to control the manner of operating the dump, but only possessed a license to deposit waste materials there, and therefore had no legal right to enter upon the premises and abate the nuisance.
(2) Appellant had permanently ceased all use of the dump prior to the commencement of the action.
*469(3) There was already pending an action in behalf of Milwaukee county to abate the nuisance in which a judgment was subsequently entered directing the abatement of the same.
■ Sec. 263.04, Stats., provides:
“The plaintiff may unite in the same complaint several causes of action, whether they be such as were formerly denominated legal or equitable or both. But the causes of action so united must affect all the parties to the action and not require different places of trial, and must' be stated separately.” (Italics supplied.)
The plaintiffs’ complaint was so drafted that appellant could not raise the issue of misjoinder of causes of action by demurrer, and, therefore, did so by allegations in its answer in the nature of a plea in abatement which set forth that it at no time had any right to control the operation of the dump after it had deposited its waste material there; that it had ceased all dumping operations as of September 16, 1953, prior to the commencement of plaintiffs’ action; and that there was already pending an action in behalf of Milwaukee county seeking the abatement of this same nuisance. Because the issue of misjoinder could not be raised by demurrer, appellant maintains that the motion for summary judgment on its part was the proper procedure for disposing of the questions raised by the plea in abatement inasmuch as the truth of the allegations thereof is not in dispute.
There would seem to be no question but that the plaintiffs have a cause of action for damages against the appellant, assuming the allegations of the complaint, and of the affidavit in opposition to the motion for summary judgment, be true. These allegations charge the appellant with having continued to dump its waste materials on the Clark premises after notice that the owners were not taking proper steps to prevent the dump from being a nuisance with resulting *470harmful effects to the persons and property of near-by residents. Furthermore, it is alleged that the nuisance continued to exist after appellant had ceased to use the dump, and appellant’s acts had contributed to cause such continuing nuisance. The following statement appearing in 2 Wood, Nuisances (3d ed.), p. 1264, sec. 837, is particularly pertinent:
“The fact that the defendant cannot enter to abate the nuisance does not excuse his liability, for it is his own wrong which has involved him in trouble.”
Appellant cites the case of Tiede v. Schneidt (1900), 105 Wis. 470, 81 N. W. 826, as authority sustaining its position that no cause of action can exist against a mere user of a dump who has no authority to control the manner in which the owners operate the same. That case involved an action commenced against the proprietor of a rendering plant together with the city of Milwaukee to abate a nuisance and for damages. The defendant city had entered into a contract with the defendant owner whereby the city was to bring dead animals found upon its streets to the plant to be rendered. The trial court at the conclusion of the trial made findings of fact wherein it was found that the plant had been so operated as not to be a nuisance and dismissed the action as to both defendants. In the opinion of this court on appeal it was pointed out that the defendant city had never maintained or operated the rendering plant, that it had no connection therewith except to deliver dead animals there, and that there was nothing unlawful in so delivering such dead animals. ín order for the facts in Tiede v. Schneidt to be parallel to those in the instant case it would have been necessary that the rendering plant have been so operated as to constitute a nuisance and for the city to have continued to have delivered dead animals to it after it had received notice *471that the plant was being continuously operated in such improper. manner as to constitute a nuisance. Because of this marked difference in the fact situation of the two cases we do not consider Tiede v. Schneidt to be in point on the issue upon which appellant cites the same.
This court in Karns v. Allen (1908), 135 Wis. 48, 58, 115 N. W. 357, held that under the provisions of sec. 3180, Stats, (now sec. 280.01), either an action at law or one in equity may be instituted to abate a nuisance, the latter being the proper action where the remedy at law is inadequate; and that where a court of equity takes jurisdiction it can award damages as well as a court of law.
In Mitchell Realty Co. v. West Allis (1924), 184 Wis. 352, 199 N. W. 390, 35 A. L. R. 396, a situation was presented where the. plaintiff sustained damages to its property as a result of a nuisance resulting from the pollution of a stream. The original action to abate the nuisance and for damages was brought against the city of West Allis and seven private corporations. These latter defendants appeared individually and moved to strike out of the complaint the allegations charging them with acts causing the pollution of the stream on the ground that to permit damages to be collected against these various defendants in the action to abate the nuisance would result in a misjoinder of causes of action. The trial court granted the motion and the plaintiff elected to proceed against the defendant city alone. Judgment was entered against the defendant city in the trial court for the abatement of the nuisance and for the recovery of all damages sustained by plaintiff and its predecessor in title as a result of the nuisance, even though the evidence established that the acts of the defendant city in operating its sewage-disposal plant had caused only part of the pollution. Such damages were awarded on the theory that the defendant city and the private corporations, whose acts had also con*472tributed to pollute the stream which resulted in the nuisance, were joint tort-feasors. On appeal, this court held that the city and the private corporations originally joined as defendants were not joint tort-feasors and declared (pp. 369, 370) :
“The instant case has been commenced under the provisions of secs. 3180 and 3181 [now secs. 280.01 and 280.02] of the statutes, and under the express provisions of these statutes an action may be begun in equity for an abatement of a nuisance, and there may be joined with such action a claim for damages. . . .
“It is our view, therefore, that the action as originally begun was maintainable, and that the order of the lower court in striking out the allegations as to damages with respect to the private corporations charged was erroneous. Had the action proceeded, the plaintiffs could have obtained their equitable remedy for the abatement of the nuisance, and, upon the determination by the court of the proportionate share of the damage caused by each of the defendants, were entitled to judgment for such amounts, thus disposing of the entire litigation in one action. To accomplish such a result is one of the principal functions of a court of equity.” (Emphasis supplied.)
The decision in McMechen v. Hitchman-Glendale Consol. Coal Co. (1921), 88 W. Va. 633, 107 S. E. 480, is in accord with the italicized portions of the foregoing quotation from Mitchell Realty Co. v. West Allis, supra, and numerous authorities are therein cited in support of such principle.
Appellant urges that the principle enunciated in Mitchell Realty Co. v. West Allis, supra, is only applicable where a cause of action in equity for the abatement of the nuisance exists against all defendants at the time of the commencement of the action, and that damages cannot be awarded by a court of equity against a defendant as to whom no cause of action for equitable relief is maintainable. We agree that this *473is a correct statement of the law. If at the time of commencement of the instant action the plaintiffs’ only remedy against appellant, whose acts have contributed to cause the nuisance, were an action at law for damages, there would be a mis-joinder of causes of action if the action were not dismissed as to appellant. This is because appellant is not a joint tort-feasor with the two other defendants who did dumping (town of Wauwatosa and A. O. Smith Company), and, therefore, the cause of action for damages against appellant does not “affect all the parties to the action” as required by sec. 263.04, Stats. On the other hand, if a cause of action in equity for abatement exists against all of the defendants, such cause of action does “affect all the parties to the action,” and the awarding of damages in different amounts against various defendants, in proportion to the harm caused by each, is immaterial on the issue of possible misjoinder.
Under the license agreement existing between the owners of the dump (the defendants Clark) and appellant, the appellant had no legal right to control the operation of the dump by the owners, or to enter upon the premises to abate the nuisance. Because of this, appellant contends that no cause of action in equity to abate the nuisance could be maintained by the plaintiffs against appellant.
At first blush the decision in Greene v. Nunnemacher (1874), 36 Wis. 50, would seem to be authority supporting appellant’s contention as to misjoinder. In that case the plaintiff instituted an action against four defendants to abate a nuisance and for damages. The alleged nuisance consisted in the operation of a large distillery with extensive cattle and hog yards maintained in connection therewith which resulted in the pollution of a stream flowing along and partly intersecting plaintiff’s premises. Plaintiff’s complaint alleged that one of the defendants owned the premises and operated it for-a year or more, that thereafter another defendant operated *474the same as tenant for a period,of three months, and thereafter, the other two defendants operated as tenants. A demurrer. was interposed on' various grounds, one of which- was misjoinder of causes of action. This court held that several causes of action had been improperly united, and although a tenant might be liable during his term for maintaining the nuisance, he could not be held liable for damages sustained before and after the expiration of his term. While the prayer of the complaint did request an abatement of the nuisance, the court did not discuss the point of whether abatement could be had against all four defendants. However, this court in Carthew v. Platteville (1914), 157 Wis. 322, 324, 147 N. W. 375, stated that prior to the enactment of ch. 190, Laws of 1882, amending sec. 3180, Stats, [now sec. 280.01], an action under sec. 3180 was considered to be an action at law and not in equity; and that the statute had abrogated the equitable remedy previously available to a private party to have a nuisance abated. This probably suggests the reason why the court in Greene v. Nunnemacher, supra, did not discuss the point of whether or not a cause of action in equity to abate a nuisance was stated against all four defendants.
The case of Midland Empire Packing Co. v. Yale Oil Corp. (1946), 119 Mont. 36, 169 Pac. (2d) 732, does, however, strongly tend to support the contention of appellant. That case involved an action against two defendants to abate a nuisance and recover damages. The complaint alleged that plaintiff for many years operated upon its premises a slaughterhouse, while the defendant Yale Oil Corporation owned adjacent property on which it operated a refinery; that in its operations crude oil containing noxious chemical substances flowed upon plaintiff’s land, rendering plaintiff’s premises unfit for the purposes designed, and polluting plaintiff’s well; and that thereafter the said defendant had sold and transferred the oil-refinery premises to the defendant Carter *475Oil Company, since which time the latter defendant had been in possession and operated and controlled the refinery. The court held that a demurrer to the complaint should have been sustained on the ground that causes of action had been improperly united. In its opinion the court stated (119 Mont. 43, 169 Pac. (2d) 736) :
“So far as the complaint seeks an injunction or abatement of the nuisance it is clear that no such relief can be granted against the Yale Oil Corporation which has parted with title and control over the property. To constitute one as a continuing wrongdoer, he must have a legal right and be under legal duty to terminate the cause of injury. Vana v. Grain Belt Supply Co. (Neb.), 18 N. W. (2d) 669; Keener v. Addis, 61 Ga. App. 40, 5 S. E. (2d) 695. Having neither this right nor duty the complaint does not state a cause of action against the Yale Oil Corporation for an injunction after it sold the property. Hence the only cause of action against the Yale Oil Corporation does not affect the Carter Oil Company and the causes of action against the latter do not affect the former within the meaning of - section 9130 [which statute is similar to sec. 263.04, Wis. Stats.].
“The cases of Mitchell Realty Co. v. City of West Allis, 184 Wis. 352, 199 N. W. 390, 35 A. L. R. 396; McMechen v. Hitchman-Glendale Consolidated Coal Co. 88 W. Va. 633, 107 S. E. 480, and Snavely v. City of Goldendale, 10 Wash. (2d) 453, 117 Pac. (2d) 221, are relied upon by plaintiff as supporting its contention that an action may properly be brought against both defendants for an injunction and that the court may award damages incidentally and apportion the same between the defendants.
“In each of those cases all defendants acting separately were polluting the waters of a stream and hence it was proper that each defendant be enjoined.
“Here the Yale Oil Corporation since the sale of the property is doing nothing that in any way contributes to the alleged nuisance. It is not a proper party to the proceeding to abate the alleged nuisance. This case is therefore not controlled by those last cited.”
*476The instant case was commenced under sec. 280.01, Stats.,1 and the provisions of secs. 280.032 and 280.043 are applicable thereto. Whether the decision in Midland Empire Packing Co. v. Yale Oil Corp., supra, controls the result in the case at bar would seem to be dependent on whether the provisions of secs. 280.03 and 280.04 extend equitable relief as to abatement that can be enforced against the appellant even though it never has had the right to control the operations of the dump, or to enter upon the premises where it is located and abate the nuisance. While the appellant cannot be compelled to go upon the premises of the defendants Clark and abate the nuisance, a warrant can be issued to the sheriff under the provisions of sec. 280.04 which would empower that officer to so enter upon such premises and abate the nuisance, a proportional part of the expense of which would be chargeable against appellant. Appellant correctly contends that the judgment for abatement authorized by sec. 280.03 must be entered against the defendants, and the warrant to the sheriff authorized by sec. 280.04 is only to be issued in *477the event the defendants themselves fail to abate the nuisance as enjoined by the judgment. However, the argument, that no judgment of abatement should be entered against a defendant who has no legal right to enter upon the premises to carry out the command of the judgment, loses much of its force in view of the provisions of sec. 280.04 authorizing the sheriff to abate the nuisance and making such defendant liable for the expense thereof.
We do not consider that if appellant’s acts have contributed to produce the nuisance it is in any position to claim that it would be inequitable for it to be required to contribute to the cost of the sheriff abating the nuisance. The judgment for abatement could well provide that plaintiffs should have no right to institute contempt proceedings for failure of a defendant to abate the nuisance, as required by the judgment, where such defendant is without legal right to enter upon the premises upon which the nuisance exists; and that plaintiffs’ only remedy in case of noncompliance by such defendant as to the enjoined abatement be limited to the issuance to the sheriff of the warrant authorized by sec. 280.04, Stats. We, therefore, conclude that by reason of the provisions of sec. 280.04 it is proper to enter a judgment of abatement against a defendant whose acts have contributed to cause the nuisance, even though such defendant has no right to enter upon the premises to abate the same.
Appellant advances as a further reason why no judgment for abatement can legally be entered against it the undisputed fact that it had permanently ceased to dump its waste material upon the Clark premises prior to the commencement of plaintiffs’ action. In support of such contention appellant cites our decision in State v. P. Lorillard Co. (1923), 181 Wis. 347, 193 N. W. 613, headnote 8 of which states:
“A complaint states no cause of action for injunctive relief by way of prevention against an unlawful combination in restraint of trade where it is not alleged that defendants- are *478continuing or threatening to continue such combination, all its allegations being in the past tense and relating to completed transactions.”
The fact situation in the instant case is readily distinguishable from that in State v. P. Lorillard Co., supra. Here we have a situation where, even though appellant had ceased its dumping activities prior to the commencement of the action, its acts contributed to produce a nuisance which continued to exist as of the date of institution of plaintiffs’ action. On the other hand, an unlawful combination in restraint of trade ceases whenever the parties thereto have withdrawn therefrom. We are constrained to hold that a court of equity in an action instituted pursuant to sec. 280.01, Stats., has jurisdiction to compel a party to abate a continuing nuisance where the acts of such party have contributed to cause the same even though such acts were discontinued prior to the commencement of suit.
The last contention advanced by appellant is that, in an action commenced by the state of Wisconsin ex rel. Milwaukee county , for the abatement of the same nuisance as described in plaintiffs’ complaint, a final judgment was entered under daté of June 30, 1954, for the abatement thereof and for issuance to the sheriff of a warrant to carry out the command of the judgment. Appellant’s answer to plaintiffs’ complaint herein set forth a plea in abatement in which the pendency of such other action was alleged, it being stated that the same was instituted under date of September 17, 1953. However, the fact that such judgment entered June 30, 1954, may make it unnecessary or useless for the trial court in the instant action to enter a judgment' of abatement does not prevent the court from retaining jurisdiction for the purposes of awarding damages. 19 Am. Jur., Equity, p. 133, sec. 134, and 30 C. J. S., Equity, p. 430, sec. 74. In so awarding damages, the court acts in its capacity as a court of equity where at the time of the commencement of the *478aaction its jurisdiction as such court of equity was -properly invoked, even ■ though subsequent events have made the granting of strictly equitable relief impracticable or useless.
It is our conclusion that the learned trial court properly denied appellant’s motion for summary judgment.
■ By the Court. — Order affirmed.
Steinle, J., took no part.■ The following opinion was filed on March 8, 1955 :
280.01 Jurisdiction over nuisances. Any person may maintain an action to recover damages for and to abate a private nuisance or any person, county, city, village, or town may maintain an action to recover damages or to abate a public nuisance from which injuries peculiar to the complainant are suffered, so far as necessary to protect the complainant’s rights and to obtain an injunction to prevent the same.
280.03 Judgment. In such actions, when the plaintiff prevails, he shall, in addition to judgment for damages and costs, also have judgment that the nuisance be abated unless the court shall otherwise order.
280.04 Execution and warrant. In case of judgment that the nuisance be abated and removed the plaintiff shall have execution in the common form for his damages and costs and a separate warrant to the proper officer requiring him to abate and remove the nuisance at the expense of the defendant.