delivered the opinion of the court.
This is a writ of error to the Court of Appeals of New York. The parties are both Illinois corporations, and the plaintiff in error brought suit in the New York Supreme Court upon an Illinois judgment. By the New York Code of Civil Procedure, § 1780, it is provided that “an action against a foreign corporation may be maintained by another foreign corporation, or by a non-resident, in one of the following cases only: . . .
3. Where the cause of action arose within the State, &c.” The other cases are immaterial. The complaint does not allege that the original cause of action arose within the State, if that would make any difference in the result. The complaint was dismissed by the Supreme Court on a demurrer setting up the above section, and the judgment was affirmed by the Appellate Division and by the Court of Appeals.
The state court decides that the cause of action did not arise within the State in the sense of the words of the code, and, of course, we follow its construction, subject to the inquiry whether the statute as construed is consistent with the Constitution of the United States. See
Northern Central Railway Co.
v.
Maryland,
We are of opinion that the section of the code as construed is not unconstitutional. The precise point has not been decided by this court, but it has been laid down in cases which raise greater difficulties than the present, that this provision of the Constitution establishes a rule of evidence rather than of jurisdiction.
Wisconsin
v.
Pelican Ins. Co.,
The plaintiff lays great stress upon
Christmas
v.
Bussell,
What, if any, limits there may be to state restrictions upon the jurisdiction of state courts, when such restrictions do not encounter article IY, section 2, of the Constitution, it is unnecessary to discuss. But we think it too plain for further argument that the New York restriction upon suits by foreign corporations against foreign corporations is not affected by either section 1 or section 2 of article IV. It will be time
*376
enough to consider the suggestion that the law is an interference with interstate commerce, within
Cooper Manuf. Co.
v.
Ferguson,
Judgment affirmed.
