delivered the opinion of the court.
This is an application for a writ of mandamus to the District Judge of the United States, acting as Circuit Judge, for the Southern District of Iowa, Central Division. The prayer of the petition was for á rule to show cause why a writ of mandamus should not issue, commanding the Judge to remand the case to the state court in which it was originally brought. The rule was issued and cause was shown by a return. From the petition and the return the following state of facts appears: The petitioner,, as assignee of the right of action of a shipper, brought in a state court of Iowa, an action at law against. the American Express Company for the negligent transportation of a boar, whereby the animal was killed, to the damage, it was alleged, to the owner of $8,000. The transportation’ was under a written contract between the owner and the defendant, which was annexed to the declaration aS' an exhibit. The shipment was from a point in Iowa to a point in Nebraska. The "citizenship of the plaintiff or his assignor-was not alleged, but the defendant was alleged to be a citizen of New York. The defendant seasonably filed in the state court a petition for removal to the Circuit Court of the Uni-: ted States, with accompanying bond in proper form.' The petition having been denied in the state court, the defendant duly filed a copy of the record in the Circuit Court pf the United States, and .it was there docketed, whereupon plaintiff moved to remand the case, and the motion was denied by the. Circuit Judge. The plaintiff thereupon, without further action in the Circuit Court, began this proceeding.
*463 The petition for removal alleged that the plaintiff was a citizen of Missouri and the defendant “a joint stock association organized under the laws of the State of New York,” but contained nó allegation of the citizenship of the members of the association. It was agreed at the argument that the defendant was not a corporation but a joint stock association. Therefore the diversity of citizenship required to warrant a removal on that ground does not appear. The petition for removal, which is printed in the margin, 1 was not based upon diversity *464 of citizenship but lipón the ground that the suit was one arising under the laws of the United States.
It is well settled that no cause can be removed from the state court to the Circuit Court of the United States unless it could originally have been brought in the latter court.
Boston &c. Mining Co.
v.
Montana Ore Co.,
The only ground of jurisdiction which is or can be suggested
*465
is that the suit was one arising under the Constitution and the laws of the United States. • 25 Stat. 433, 434. It is the settled interpretation of these words, as used in this statute conferring jurisdiction, that a suit arises under the Constitution and laws of the United States only when the plaintiff’s statement of his own cause of action shows that it is based upon those laws or that Constitution. It is not enough, as the law now exists, that it appears that the defendant may find in the Constitution or laws of the United States some ground of defense.
Louisville & Nashville Railroad
v.
Mottley,
Tested by these principles, the record, including the petition for removal, shows • affirmatively that the case was not one arising under the laws of the United States. In substance, the allegations of the petition for removal are, that the defendant was subject to the Federal laws to regulate commerce, and that under those laws the defendant had a defense in whole or in part to the cause of action stated in the declaration. ' But the cause of action itself is not based upon the interstate com.merce law or upon any other law of. the United-States. The case could not have been' brought originally in the Circuit Court of the United States, and was therefore not removable thereto. In holding otherwise we think the learned Judge of the Circuit Court erred.
It is, however, argued that mandamus is not the remedy for the correction of such' an error as we have pointed out, and that the aggrieved party should be left to his writ of error— a remedy which he undoubtedly has.
Authority to issue writs of mandamus to any courts appointed under the authority of the United States was given to this court by a provision in the original Judiciary Act, which now appears in § 688 of the Revised Statutes. A writ of mandamus issued tinder this provision is for the purpose of revis- ■
*466
ing and correcting, proceedings in a case already instituted in the courts, and is deemed a part of the appellate jurisdiction of this court, which is subject to such regulations as the Congress shall make.
Marbury
v.
Madison,
1 Cr. 137;
Ex parte Yerger,
In
Ex parte Crane,
In
Ex parte Bradley,
A specific application of the. géneral principle announced in
Ex parte Bradley
has been made to cases where Circuit Courts of the United States have, without authority, assumed jurisdiction of a case originally brought in .a state court, and it has. frequently been held that mandamus from this court would lie to compel a Circuit Court to remand a case to the state court where it is apparent from the record that the Circuit Court has no jurisdiction whatever of the case.
Virginia,
v
Rives,
In
Virginia
v.
Rives, supra,
the State, after the cause had been removed to the Circuit Court, filed its petition in this court for mandamus, without having made a motion to remand in the Circuit Court] but in the opinion nothing turned on the absence of a motion to remand, and the remedy by mandamus was held to exist “when the case is outside of the exercise of (judicial discretion), and outside the jurisdiction of the Court ... to which . . . the writ is addressed. One of its peculiar and more common uses is to restrain inferior courts and to keep them within their lawful bounds,” p. 323.
Ex parte Bradley
is then referred to and its discussion approved. Then followed
Ex parte Hoard,
The respondent, however, insists that mandamus will not lie to control the judgment or judicial discretion of the court to which the writ is proposed to be directed. This is true
*468
where the judgment or judicial discretion is within the limits of jurisdiction, but not otherwise. Wherever the record, including the petition for removal, shows that there are questions of fact upon whose determination the right of removal depends, and upon which it is the duty of the Circuit Court, to pass judicially, then there is jurisdiction to decide those questions. Their decision is the exercise of judicial discretion, and if that discretion is erroneously, exercised it. can be corrected only by a writ of error or appeal. In these casés writs of mandamus must not be permitted to usurp the functions of writs of error or appeals or take their place where they offer an adequate remedy to the aggrieved party. It is only in cases where thé record makes it clear, as matter of law, that the Circuit Court was without jurisdiction to take any action whatever that the writ of mandamus lies. This distinction has been acted bn. many times by this court, arid it is enough to refer to two very recent cases. Thus where the removability of a case turned upon the question whether there was a separable controversy, to the trial of which certain of the defendants were not indispensable or necessary parties, it was held that .the Circuit Court had jurisdiction to determine the question of separability; that its decision in that respect was the exercise of judicial discretion and could not be controlled by a writ of mandainus.
In re James Pottitz,
As we have shown, the want of jurisdiction of the Circuit Court appears clearly bn the record in the case at bar, and does not, as in In re Pollitz and Ex parte Nebraska, depend upon findings of fact which the Circuit Court had jurisdiction to make. We think, therefore, it is clear that the writ of mandamus ought to issue..
A subordinate question must receive, some attention. It is said' that the petitioner in this case appeared generally in the
*469
Circuit Court after the remóval of the case, and thereby waived his right to object to the jurisdiction, and
In re Moore,
The rule is made absolute and the writ of mandamus awarded.
Notes
Your petitioner, the American Express Company, respectfully shows that it is the-defendant in the above-entitled suit, and that the matter and amount in dispute in the said suit exceeds, exclusive of interest and costs, the sum or value of two thousand dollars ($2,000.00).
That your said petitioner was, at the time of the bringing of this suit, and still is a joint stock association, organized under the laws of the State of New York, in such cases made and provided, and that the plaintiff was then and still is a citizen of the State of Missouri.
Your petitioner further shows that the said suit is one of a civil nature, in which the plaintiff seeks to recover from the defendant the sum of eight thousand dollars ($8,000.00) as damages bn account of an alleged failure on the part of the defendant to comply with its obligations as a common carrier in the shipment and transportation of a hog, which the assignor of plaintiff offered to the defendant and which the defendant received from the assignor of plaintiff on or about the 30th day of August, A. D. 1907, for transportation from the State Fair Grounds at Des Moines in the State of Iowa, to the city of Lincoln, in the State of Nebraska.
That the defendant denies that it failed in any respect to perform its •obligations with reference to the transportation of the said hog, and denies that, it is liable upon the claim set up in the said suit, in. any amount, and denies that, in any event, its liability could exceed the sum or value of fifty dollars ($50.00).
That the said suit is one arising under the laws of the United States. That your petitioner is, and was, at all the times mentioned in the petition- in this suit a common carrier engaged in trade and commerce between the several States of the United States, and between the Territories thereof, and between the Territories and the several States.
That at the date of the shipment in question your petitioner was, and ever since that time has been, subject to the provisions of the act of Congress, entitled “An Act to Regulate Commerce,” approved February 4, 1887, and of the acts of Congress amendatory thereof and supplementary. *464 thereto, and that the alleged cause of action set up in said suit is based upon, grows out of and necessarily involves the construction of said acts of Congress. That among the questions arising under said acts and necessarily involved in said suit are—
(a) Whether the contract on which said suit is based is legal and enforceable by the shipper or the plaintiff as his assignee in view of the fact that it appears on the face of this contract that if the claim made in the petition as to the value of the hog in question is true, the shipper, by means of its undervaluation, violated the penal provisions of the Act to Regulate Commerce as amended.
(b) Whether, under the Act to Regulate Commerce, as amended, the • plaintiff may assert a claim for damages in an amount in excess of the value declared by the shipper to be the true value, and, upon this declaration, made the basis of the rate for the interstate transportation in question.
(c) Whether, under the Act to Regulate Commerce, as amended, the provisions of the contract in suit, limiting the liability of the defendant to the sum declared by the shipper in said contract to be the actual value.' of the animal in question, is valid and enforceable.
(d) Whether, under the Act to Regulate Commerce, as amended, the plaintiff, as assignee of the shipper, is estopped to'set up in this suit'that the hog in question was of a greater value than the value declared to be its true value in the contract sued upon.
(e) Whether the undervaluation of the hog in question by the shipper^ in order to obtain a rate for its interstate transportation lower than the published established rate constituted a violation by the shipper of the penal provisions of the Act to Regulate Commerce, as amended.
(/) Whether, if said penal provisions were so violated, the plaintiff’s suit is founded upon what in law is his own wrong so as to. preclude a recovery by him.
(?) Other questions arising under said Act to Regulate Commerce, as amended.
