delivered the opinion of the Court.
The record presents a preliminary question as to our jurisdiction of this appeal. This we must consider, although not raised by counsel.
Stevirmac Oil Co.
v.
Dittman,
This is & suit in equity brought in the District Court by a citizen of Oklahoma against a citizen of Kansas to enjoin the latter from enforcing certain judgments that he had recovered against the plaintiff in a state court — which were alleged to be unconscionable and void — and, incidentally, from further prosecuting a suit in the District Court that had been brought by him against a. surety on a super-sedeas bond given by the plaintiff in the course of the proceedings in the state court. The amount involved, exclusive of interest and costs, exceeds $3,000.
The defendant moved to dismiss the suit on two grounds: 1st, for want of jurisdiction, because the diver *276 sity of citizenship had not existed at the time the judgments were rendered; and, 2nd, for want of “ a valid cause of action in equity.” The District Judge, on consideration of this motion, handed down a memorandum in which — without passing upon the jurisdictional question raised by the motion — he said: “ In examining the matter I am constrained to believe in so far as restraint of further proceedings in the courts of the state are concerned, the injunction prayed for in this suit is within the letter and spirit of the prohibition of Section 265 of the Judicial Code, . . . and that the motion to dismiss interposed in this suit should be sustained.” A decree was thereupon entered dismissing the suit, at the costs of the plaintiff, “ for the reasons stated ” in the memorandum. Thereafter the appeal to this Court was allowed by another District Judge, sitting by assignment; his order allowing the appeal reciting that the decree dismissing the suit “ was made upon consideration solely of the question of the court’s jurisdiction of the said action under the provisions of Section 265 of the Judicial Code.”
Section 238 of the Judicial Code — reenacting a like provision in the Act of March 3, 1891, c. 517, 26 Stat. 826,— provides that appeals and writs of error may be taken from district courts direct to this Court in cases “ in which the jurisdiction of the court is in issue ”, in which case that question alone shall be certified from the court below for decision. 1
We assume for present purposes that in matter of form the recital in the order allowing the appeal that the suit was dismissed “upon consideration solely of the court’s jurisdiction ” of the action under § 265 of the Code, is a sufficient certification of a jurisdictional question. See
*277
Excelsior Pipe Co.
v.
Bridge Co.,
Does the dismissal of a suit in equity upon the ground that the court is prohibited by § 265 of the Code from granting the relief sought by the bill, involve an issue as to “ the jurisdiction of the court ” within the meaning- of § 238 of the Code?
Under the latter section, as interpreted by repeated decisions of this Court, the jurisdiction of the district court is in issue only when its power to hear and determine the cause, as defined and limited by the Constitution or
*278
statutes of the United States, is in controversy,
Smith
v.
McKay, supra,
p. 358;
Mexican Railway
v.
Eckman,
So the question whether, in a suit in equity, the plaintiff is prevented by § 265 of the Code from obtaining an injunction staying proceedings in a state court, does not present an issue as to “the jurisdiction” of the district court. This section — reenacting § 720 of the Revised Statutes — provides that, except in bankruptcy cases, the “ writ of injunction shall not be granted by any court of the United States to stay proceedings in any court of a State ”. It is not a jurisdictional statute. It neither confers jurisdiction upon the district courts nor takes away the jurisdiction otherwise specifically conferred upon them
*279
by the federal statutes.
2
It merely limits their general equity powers in respect to the granting of a particular form of equitable relief; that is, it prevents them from granting relief by way of injunction in the cases included within its inhibitions. In short, it goes merely to the question of equity in the particular bill. See
Simon
v.
Southern Railway,
In the present case the district court, as shown by the memorandum and decree, did not decline to exercise jurisdiction. On the contrary, it took jurisdiction of the cause, and, determining, upon consideration of the bill, that it was prohibited by § 265 from granting the relief sought, dismissed the bill; thereby, in effect, sustaining the ground of the motion relating to want of equity in the bill. This decision, not being upon a jurisdictional issue, but on the merits, was only reviewable by appeal to the Circuit Court of Appeals. De Rees v. Costaguta, supra, p. 173. The direct appeal to this Court was therefore improvidently allowed.
Prior to the Act of September 14, 1922, c. 305, 42 Stat. 837, this would have resulted in the dismissal of the appeal for want of jurisdiction here. Smith v. McKay, supra, p. 359; O’Neal v. United States, supra, p. 38; Excelsior Pipe Co. v. Bridge Co., supra, p. 285; DeRees v. Costaguta, supra, p. 174. That act, however, amends the Judicial Code by adding § 238(a), providing, inter alia, that an appeal taken to this Court in a case wherein it should have been taken to a circuit court of appeals, shall not for such reason be dismissed, but shall be transferred to that court for determination as if the appeal had been duly taken to it. As this appeal involves a question upon *281 the merits of the controversy which should have been taken to the Circuit Court of Appeals for the Eighth Circuit instead of to this Court, it must, pursuant to the statute, be transferred to that court.
It is so ordered.
Notes
The Act of 1891 related to direct appeals and writs of error from the then existing circuit courts as well as district courts. Decisions under that act as well as the Code, are cited in this opinion without distinction in this respect.
Its language is similar to that in § 267 of the Judicial Code, providing that suits in equity “ shall not be sustained in any court of the United States in any case where a plain, adequate, and complete remedy may be had at law ”, which does not go to the jurisdiction of the court; and in marked contrast to the provision in § 24 of the Code that no “ district court shall have cognizance of any suit ” to recover upon any chose in action in favor of an assignee, unless it might have been prosecuted in such court if no assignment had been made.
In this case, as the decree had dismissed the bill “ for want of jurisdiction”, this Court was required, under the direct appeal, to determine whether the district court had the jurisdiction which it had denied; and its decree "denying jurisdiction was reversed.
