In this action the plaintiffs seek to perpetually enjoin the defendants from acting under or enforcing certain agreements between the defendants by which it was intended to maintain the retail prices of books and to prevent competition in the sale thereof. The defendants demurred to the complaint; the demurrer was sustained at Special Term, but upon appeal to this court the judgment sustaining the demurrer was reversed. (85 App. Div. 446.) And upon appeal to the Court of Appeals the reversal was affirmed. (177 N. Y. 473.) The defendants then interposed an answer which alleged several affirmative defenses. To the second and third of these affirmative defenses the plaintiffs demurred. The demurrer to the second affirmative defense was overruled and to the third the defense was sustained. From the interlocutory j udgment overruling the demurrer to the second affirmative defense the plaintiffs now ' appeal. This defense is pleaded as “ a second separate defense to the complaint herein,” and alleged that the agreement set out in the complaint was adopted on the 13th day of February, 1901; that certain amendments thereto were made from time to time, copies of the amended agreement being annexed to the answer, and finally on the 13tli of March, 1904, the agreement was further amended so as to apply solely to copyrighted books. The action being in equity, and the relief asked being an injunction against the defendants restraining them from enforcing an agreement which it is claimed is in violation of public policy and of the statutes of this State making illegal certain combinations,* the extent of the relief that will be granted is within the discretion of the court, and in such an action it is quite proper for a defendant to set up any facts happening, either before or after the commencement of the action, which bear upon or may affect the extent to which injunctive relief will be granted. Upon demurrer to an answer setting up facts upon which the defendant would ask the court not to grant an injunction, but to leave the parties to their remedy at law, it would be manifestly impossible for the court upon demurrer to determine just what effect these facts would have upon the trial court and *279whether or not they are sufficient to justify the trial court in refusing to grant any injunction, or, if an injunction is granted, to affect the extent of the injunction, for that would be an exercise of judicial discretion on demurrer, when such discretion could ’only be exercised at the trial when all of the facts are before the court. If the facts alleged have relation to the subject-matter and are calculated to affect the action of the court in determining whether an injunction should be granted, or its extent if one is granted, the effect that will be given to them cannot be determined on demurrer. Section 494 of the Code of Civil Procedure provides that the plaintiff may demur to a counterclaim or to a defense consisting of new matter contained in the answer on the ground that it is insufficient in law upon the face thereof. When such a defense consists of facts which the defendant will prove upon the trial to affect the extent of discretionary relief that a court of equity will grant, it is not insufficient upon the face thereof, even though it would appear upon an inspection of the pleadings that the facts alleged would not in themselves be sufficient to justify the court in refusing the plaintiff any relief. I think, therefore, that this defense cannot be said to be “insufficient in law upon the face thereof” and that it, therefore, was not subject to demurrer.
The plaintiffs insist that as these facts are pleaded as a complete defense to the action they cannot be sustained as a partial deffense under sections 507 and 508 of the Code of Civil Procedure. Section 507 of said Code provides as follows: “ A defendant may set forth, in his answer, as many defences or counterclaims, or both, as he has, whether they are such as were formerly denominated legal or equitable. Each defence or counterclaim must be separately stated and numbered. Unless it is interposed as an answer to the entire complaint, it must distinctly refer to the cause of action which it is intended to answer.” Section 508 provides as follows : “ A partial defence may be set forth, as prescribed in the last section ; but it must be expressly stated to be a partial defence to the entire complaint, or to one or more separate causes of action therein set forth. Upon a demurrer thereto, the question is, whether it is sufficient for that purpose.” I think it quite clear that this section was not intended to apply to an action in equity asking for discretionary relief, where a defendant sets up facts *280which he will ask the court ■ to consider in determining the relief which will be granted. The plaintiff has a right to plead these facts as sufficient to justify the court in refusing to grant an injunction and upon demurrer it cannot be said that facts which are sufficient to affect the relief will not be sufficient to defeat the cause of action. Just what effect these facts will have must be left to be determined by the court when the action comes on to be tried upon the whole evidence. Sections 507 and 508 of the Code of Civil Procedure have clearer application to actions at law than in equity which ask for discretionary relief.
Thompson v. Halbert (109 N. Y. 329), relied on by the plaintiffs, was an action to recover damages for a conversion. The defense pleaded was the Statute of Limitations. To this answer the plaintiff demurred on the ground that it was insufficient in law on the face thereof; and it was held that as the defense would not apply to the whole of the plaintiff’s claim and was not pleaded as a partial defense, the demurrer should he sustained. Matthews v. Beach (5 Sandf. 256) was an action for libel, and it -was held in that case that facts which might properly be pleaded in mitigation of damages, when pleaded as a defense to the cause of action, were demurrable. The defendants claim that they have a right to present to the court the fact that in view of the subsequent modifications of the agreement no injunction should be granted. That question must be settled by the court upon the trial and, as before stated, cannot be determined on demurrer. The facts are such as are proper to be presented upon the trial and, therefore, a demurrer to this defense cannot be sustained as insufficient upon the face thereof. Without intimating an opinion as to the effect that should be given to the facts pleaded determining the relief, if any, that will be granted to the plaintiff, we do not think this allegation of new matter was demurrable and that the court below, therefore, correctly overruled the demurrer.
' It follows that the interlocutory judgment appealed from must be affirmed, with costs, with leave to the plaintiffs to withdraw the demurrer on payment of costs in this court and in the court below.
Yan Brunt, P. J., Patterson and McLaughlin, JJ., concurred; Laugiilin, J., dissented.
See Laws of 1899, chap. 690.— [Rep.