It isnot contended that the injunction obtained by Le Roy out of the Supreme Court makes the judgment which has been entered in this court irregular.
Prior to the existing system of practice, when equity and legal jurisdiction was conferred on distinct tribunals, it was settled that an injunction from the Court of Chancery, enjoining a plaintiff in an action in the Supreme Court from proceeding further therein, did not have the effect to make any proceedings which such plaintiff might take in the action at law, in disregard of such injunction, irregular; the Supreme Court would not set them aside on that ground, although it would relieve against them in furtherance of justice.
The injunction, in such a case, is directed to the suitor and his attorneys and agents, and not to the court of law. The plaintiff at law might proceed, at the peril of being compelled by the Court of Chancery to justify his acts, or pay the penalty of proceeding contrary to the injunction.
Under that system, when equity was administered by the Court of Chancery alone, it often happened that a defendant in an action at law, could prove facts which at law would be no defence, but which in a court of equity would either preclude the plaintiff at law from recovering any thing, or would entitle the defendant therein to relief, which a court of law could not grant.
Hence, under that system, it might be eminently proper for a court of law, in some cases, to decline trying an action which the plaintiff had been enjoined by the Court of Chancery from further prosecuting, without the permission of that court.
But such cases, instead of falling within, or constituting a general rule, were regarded by the Supreme Court as exceptions. The general rule was, that the Supreme Court would not notice an injunction as a matter which should influence its own practice in the cause to which it related (Burt a. Mapes, 1 Hill, 648).
Under the existing constitution and judiciary system, courts of record are competent to grant to a plaintiff or defendant any relief, either legal or equitable, to which the facts proved and embraced within the issues made by the pleadings entitle him.
There is, therefore, no occasion now for one court, even if it had the power, to enjoin proceedings in another court of co-ordinate jurisdiction, and compel one who has brought an action in the latter to litigate it before a different tribunal.
*58Whether an action be brought in the Supreme Court, or in the Common Pleas of this city, or in this court, each court has as ample power as either of the others to try any issues of fact which may be set up as a defence, or as a basis of affirmative relief.
When an action has been brought in either, it is not obvious on what considerations of public policy or of justice to individuals, the defendant should be permitted, instead of litigating and settling the controversy in the court in which the action may have been brought, to commence an action in one of the other courts in respect to the same matters, and stay proceedings in the first action until the second shall have been determined.
Such a course would, in many instances, delay final judgment. The issue in the second action would be later in date than one joined in the first at the time an answer would be due. If the second action was brought in a court having more undecided causes pending in it, a trial could not be anticipated as speedily as in a court less crowded with business.
If it shall be held that it is purely discretionary with the court whether it will order issues to be tried by a jury in actions which, by section 254 of the Code, áre triable by the court, then such a practice, if sanctioned, would enable a defendant, by making matters properly pleadable as an equitable defence or counter-claim the subject of an action in his own favor as plaintiff, to deprive the plaintiff in the action first commenced of the right to a trial by jury.
This court held, in Grant a. Quick (5 Sandf., 612), and decided March 6, 1852, that “ no court in this State can rightfully enjoin a defendant from proceeding in a suit in another court of the State, having equal power to grant the relief sought by the complaint.”
In that case, Grant brought an action in this court, and obtained an injunction restraining Quick from attempting to enforce certain agreements mentioned in the complaint. On motion, and on its being shown to this court that at the time the injunction was granted, a suit, which had been commenced by Quick against Grant, was pending in the Common Pleas on one of those agreements, this court dissolved the injunction. Mr. Justice Duer said: “ It is in the Common Pleas that the controversy was commenced, and it is there that it ought to be *59terminated. The prior jurisdiction which that court has acquired over it, I have no right and will not attempt to disturb.”
The opinion concludes with this statement:—
“At a joint meeting of the' judges of the Supreme Court, of the Common Pleas, and of this court, which was had shortly after the above decision, it was communicated by Duer, J., and unanimously approved.”
So far as it respects cases which have come to my knowledge, this court has uniformly acted on that rule.
It was suggested, on the argument of this motion, that Le Boy commenced the action in the Supreme Court, on the strength of some rumored impressions that this court has no jurisdiction of an equity suit, and that the provisions of the Code which confer it are unconstitutional.
. Whether such considerations had any weight with the learned justice who granted the injunction, the papers do not disclose.
It is known that three judges of this court for a long period, under the peremptory requirements of statutory law, devoted their attention exclusively to the trial and decision of equity suits, commenced in the late Court of Chancery. Since the Code took effect, suits of that character, and of great magnitude, have crowded its calendars. Many have been tried, and the decisions of this court in some of them have been reviewed by the Court of Appeals.
I have not noticed the suggestion of a doubt, by any member of that court, of the jurisdiction of this court in such cases.
In the case of the Attorney-General, &c., a. the Mayor of New York (2 Duer, 137), the point was taken that “ this court has no jurisdiction of an action against the Corporation of New York, upon the cause of action stated in the complaint.” That was an equity suit.
The same point was made in this court, and in the Court of Appeals, on the proceedings against the defendants for disobeying the injunction. When those proceedings were before the Court of Appeals on an appeal from an order of this court, the former, in the opinion given in support of its order of affirmance, held this language: The jurisdiction of the Superior Court “is as wide as the definition of an action under the Code, and that is defined to be an ordinary proceeding in a court of justice by which a party prosecutes another party for' the enforcement or *60protection of a right, the redress or prevention of a wrong.’ ”* (lb., 160.) I deem it more reasonable to conclude that the injunction was granted for the reason that Le Roy’s complaint stated one cause of action, which would be no defence to the one in this court, and a cause of action which it is by no means clear could be litigated in this action, viz., the claim to have the house and lot in Twelfth-street reconveyed to him.
And the learned justice may have thought that, substantially, the same evidence in most of its details by which that cause of action was to be sustained, if at all, would be relied on as a defence to this action, and to establish the facts on which a cancellation and surrender of the contract is sought, on which this action is brought, and that, by trying both matters in one action, the labor and preparation of one trial might be avoided.
Yet it is evident that the principles and considerations on which a reconveyance of the house in Twelfth-street will be urged or opposed, may be quite distinct from those on which the cancellation of the contract in question may be claimed, or resisted.
It is not obvious why the trial of this action should be delayed by the trial of a cause of action not necessarily connected with it, nor why any judgment that may be rendered in respect to it should be subjected to the hazard of a reversal by reason of errors which, notwithstanding the greatest care, may possibly be committed in disposing of tire other, no matter by what court it may be tried.
The Code is quite explicit that Le Roy can set up in his answer, in this action, not only as many defences 'as he has, but also that he may set up as many counter-claims as he may have (Code, § 151), whether they be such as have heretofore been denominated legal or equitable, or both.
As a counter-claim, he may set up any cause of action which he has against the plaintiff! “ arising out of the contract or transaction set forth in the complaint as the foundation of the plaintiff’s claim, or connected with the subject of the action” (Code, § 150, subd. 1).
And this court may grant to him “ any affirmative relief to which he may be entitled,” on the facts so alleged, if they shall be established by evidence (Code, § 274). .
*61As the plaintiff in this action has obtained a regular judgment, it can only be set aside on terms.
It may be set aside and the defendant allowed to answer in twenty days, on payment by him within that time of the costs of entering the judgment, and of subsequent proceedings thereon, including the sheriff’s fee on the execution issued on such judgment, and ten dollars costs of opposing this motion, and on serving with the answer a stipulation that an order be entered, in the action in the Supreme Court, so far modifying the injunction issued thereon as to leave the plaintiff in this action at liberty to proceed therein. The issue to be of the date at which an answer was originally due. If the defendant does not avail himself of these conditions, by complying therewith, this motion is denied with ten dollars costs.
The People on rel. Davis a. Sturtevant (5 Seld., 263).