The complaint seeks to establish a judgment obtained in the Circuit Court of Cook county, State of Illinois, under the laws of which State both corporations, plaintiff and defendant, were organized and now exist. The demurrer thereto was sustained on the-ground that the court had no jurisdiction, both parties being foreign corporations.
We do not regard the question of whether one foreign corporation can sue another corporation in our courts as any longer open to discussion. As stated in the concurring opinion of Judge Van Brunt in Barker v. Cunard Steamship Co. (91 Hun, 500), “In respect to foreign corporations the Supreme Court has never been a court of general jurisdiction. It has no jurisdiction of actions against foreign corporations, except such as is conferred by statute. Hence the rule which ordinarily applies to this court as a court of general jurisdiction cannot obtain in actions against foreign corporations. It must appear somewhere in the record that jurisdiction exists.” (See, also, Ladenburg v. Commercial Bank, 87 Hun, 269.)
By section 1780 of the Code of Civil Procedure it is provided : “ An action against a foreign corporation may be maintained by *275another foreign corporation or by a non-resident in one of the following cases only: * * * 3. Where the cause of action arose within the State.”
Though it be conceded that an action on a foreign judgment is an action on contract, and though a foreign judgment may be enforced in this State, it does not follow that a suit brought by a foreign corporation on a foreign judgment is an action which arises in this State.
Nor do we think that there is force in the further contention that section 1780 of the Code is unconstitutional as violative of the provision of the United States Constitution that “ Full faith and credit shall be given in each State to the public acts, records and judicial proceedings of every other State.” (Art. 4, § 1.) The present case is analogous to that of Chemung Canal Bank v. Lowery (93 U. S. 72), where a State Statute of Limitations was attacked as repugnant to the same clause of the Constitution of the United States as is here brought before us, and it was held that the law in question did not produce any unconstitutional discrimination. Furthermore, it may be said that in the case of a foreign corporation presenting such a question as this, this State has expressly held that as such a corporation comes within our jurisdiction only by permission, express or implied, it assents to certain conditions, and, even if those conditions were unconstitutional, it would be estopped from attacking them. (People v. Fire Association of Philadelphia, 92 N. Y. 320.)
The other constitutional question raised is disposed of by the case of Robinson v. Oceanic Steam Nav. Co. (112 N. Y. 315, at p. 324) as follows : “ It is .claimed, however, that section 1780 of the Code, so far as it discriminates between resident and non-resident plaintiffs, is repugnant to section 2 of article 4 of the Federal Constitution, wherein it is provided that ‘ the citizens of each state shall be entitled to all the privileges and immunities of citizens in the several states.’ This section makes no discrimination between citizens, but between residents and non-residents. Without attempting to define the full scope of that constitutional provision, it is sufficient to say that it has no application to a case like this and there are numerous decisions to that effect.” In the same opinion, the learned judge quotes witli approval what was said in Davidsburgh v. Knickerbocker Life Ins. Co. (90 N. Y. 526), “"There are, no *276doubt, many'cases where the court having jurisdiction over the subject-matter may proceed against a defendant who voluntarily submits to its decision ; but where the State prescribes conditions under which a court may act, those conditions cannot be dispensed with by litigants, for in such a case the particular condition or status of the defendant is made a jurisdictional fact.’ ”
The judgment should be affirmed, with costs.
Van Brunt, P. J., Patterson, Ingraham and McLaughlin, JJ., concurred.
Judgment affirmed, with costs.