. The defendant and Mr. Olaffy were sureties of a lease. Plaintiff, the lessor, recovered a judgment in this court , against Mr. Claffy, and now brings this action pursuant to section 1937 of the Code of Civil Procedure. In the action against him Mr. Claffy made plea, inter alia, that the lease was ultra vires, but was defeated. (See Rath Gas Light Co. v. Claffy, 151 N. Y. 24, 29.) The learned Special Term gave judgment for the plaintiff on the ground that the defense of ultra vires had not arisen since the judgment against the defendant’s joint debtor, and that it had been pleaded by him, citing section 1939 of the Code of Civil Procedure. But this defendant could raise any defense which he might have made in the original action if the summons had been served on him cotemporaneously with his fellow-surety. (§ 1939, supra) The fact that his cosurety raised this defense does not, therefore, preclude him. Section 1933 of the Code in part provides that “ as against a defendant not summoned, it (the judgment) is evidence only of the extent of the plaintiff’s demand, after the liability of that defendant has been established, by- other evidence.”
In Morey v. Tracey (92 N. Y. 581) the court, per Andrews, J., held that such an action is not to enforce the original judgment; that such judgment bound the defendant served, and authorized execution against his separate property or the joint personal property of both defendants, but that the object of this action is to establish liability of the .-defendant upon the original contract, which was not adjudicated by the original judgment, and “of which it was no evidence that the liability of the defendant could only be cast by evidence almmde, and that defendant could. make any defense which he might have made in the original action. If by raising a similar defense the first cosurety did not preclude this defendant therefrom, it must follow that this defendant is free to establish it by evidence. Otherwise it would be a formal mockery. For to what purpose is an assurance of a plea, coupled with a refusal to -permit proof thereof ? And what is the form of á plea without the *565substance of proof thereof ? For what good is a plea to him who will not be heard ? If the failure of the other surety in such plea would foreclose the defendant, with the possible result that he is charged on his separate estate by an adjudication whereto he was not summoned, and despite a valid defense available when he was called to court, then there is opportunity for collusion between a plaintiff and one joint debtor who may wittingly fail in his plea and thus shut out his fellow. The adjudication in the first action may ■be stare decisis, but it cannot be res ad.judicata.
In the case at bar, the lease was made in Maine between two corporations of Maine, engaged in business in that State. The property subject to the lease was in Maine, the lease was for performance there, and there, too, the contract of suretyship was executed. The law presumes that the parties intended that the law of Maine should control as to the validity and effect of the contract. (Dickinson v. Edwards, 77 N. Y. 573; Story Confl. Laws [8th ed.], § 240; Wilson v. Lewiston Mill Co., 150 N. Y. 314.) I think that the contract of the sureties is to be governed by the laws of the same State. (Richardson v. Draper, 23 Hun, 188; affd., 87 N. Y. 337; Milliken v. Pratt, 125 Mass. 374; Brandt Sur. & Guar. [2d ed.], § 144, and authorities cited.) In Claffy's Case (supra) the court say: “ It is said, however, that the contract was a Maine contract, and that by the law of that State the lease was illegal and void, and no action could be maintained upon it. It is a sufficient answer to this claim that the law of Maine on the subject does not appear by the record, and that it is the duty of this court, therefore, to determine the case according to the law of New York.” But the essential difference between daffy's case and this case is that this defendant in support of his plea of ultra vires read in evidence a judgment of the Supreme Judicial Court of Maine in Brunswick Gas Light Co. v. United Gas, Fuel & Light Co. (85 Maine, 532). That judgment, while not in evidence in Ctaffy’s case, was discussed in the dissenting opinion of Vann, J. (151 N. Y. 49). It is presumptive evidence of the unwritten or common law of Maine (Code Civ. Proe. § 942), and as it was not met by counter evidence, such law is by it established, and could not be disregarded. ( Wattson v. Campbell, 38 N. Y. 153.) The Maine judgment, which was Upon a lease similar to that in this case, in an action against the same lessee, deter*566mined that the lease was void as ultra vires the corporation, upon the ground that such a corporation could not dispose of its corporate powers to disability, and that such traffic in corporate franchises •tended to create monopolies. The court held that there could be no recovery of rent upon the lease, and that the remedy was disaffirmance of the contract, and suit as upon a quantum, meruit^
The defendant, then, to sustain his plea, has shown that the lex •loai contractus declares the contract to which he is surety to be ultra vires. After stating the rule that the validity of a contract is to be decided by the law of the place of performance, and that “ if valid there, it is, hy the general law of nations, jure gentium, held valid everywhere by the tacit or implied consent of the parties,” Judge Story says : “ The same rule applies vice versa to the invalidity of contracts; if void or illegal by the law of the place of the ■contract, they are generally held void and illegal everywhere. This would seem to be a; principle derived from the very elements' of natural justice. * * * If void in its origin, it seems difficult to .find any principle upon which any subsequent validity can be given • to it in any other country.” (Story Confl. Laws [8th ed.], §§ 242, 243.) In Hyde v. Goodnow (3 N. Y. 266) the court say: “Thus .assuming that the contracts in question had been made in Ohio, and that by the laws of that State such contracts are declared void, the courts of this State would be bound also to declare them void, though ■by their terms'they were to have been performed here, and though if made here they would have been valid contracts. This exception • is required by that just comity and public convenience upon which all international law is founded. A contract which is illegal and void, either by the law of the place where it is made, or that of the place where it is to be performed, is illegal and void everywhere. (See Andrews v. Herriot, 4 Cowen, 510, note a and cases there cited.” (See, too, Northrup v. Foot, 14 Wend. 248; Ætna Ins. Co. v. Aldrich, 26 N. Y. 92, 97 ; Wattson v. Campbell, supra; Bard v. Poole, 12 N. Y 495, 501; Story Confl. Laws [8th ed.] 326 et seq., and authorities.) Story quotes with approval the Supreme Court of : Louisiana: “ In a conflict of laws, it must oftener be a matter of doubt which should prevail; and that, whenever that doubt does exist, the court which decides will prefer the law of its own country to that of a stranger. And if the positive laws of a State prohibit *567particular contracts from having effect according to the rules of the ■country where they are made, the former must prevail.”
But it is urged that the court should not regard the common law ■of Maine. Let us stop to consider the features of the case at bar. First, we have a contract between Maine corporations concerning immovable property in that State, made and to be performed in Maine. Second, the Supreme Court of Maine has declared the con-' tract illegal and ultra vires for radical vices, namely, the self-emas■culation of corporate powers and the tendency to monopoly. Third, the Maine judgment declares that there can be no recovery of rent upon the contract. Fourth, one of the Maine corporations travels to this forum, and seeks to avoid the effect of the Maine judgment ■in order to hold a surety upon the contract which the Maine judgment pronounced ultra vires. Fifth, we are asked, in effect, to uphold the Maine contract in order that a surety may smart. It is well settled that a court may refuse to regard the lex loci contractus if it be immoral or unjust, or if it harm our own citizens. (Story Confl. Laws [8th ed.], § 244; Kelly v. Crapo, 45 N. Y. 86; King v. Sarria, 69 id. 24.) In Teel v. Yost (128 N. Y. 387, 394) the court, per Ruger, Ch. J., say: “ It should, in any event, be for the gravest reasons alone, and those demanded by the clearest rules of public policy and justice, that the courts of one State should deliberately deny to the decisions of the courts of another State the authority which they possess in the State where rendered.” If the courts of one State ■should refuse to exercise comity because its common law differed from that of a sister State, then, of course, comity would never be •exercised, for when there were no differences there would be no place for comity. In King's case the court, arguendo, says: “ In Comm. of Ky. v. Bassford (6 Hill, 526) the Supreme Court of this State maintained an action on a bond, given to secure the payment ■of money to be raised and distributed by a lottery, on the ground that it was a valid and legal obligation in Kentucky, where it was assumed that it was made, and where it was to be executed, though ■opposed to the statutory policy of this State. And the rule has ■been so far carried, in one jurisdiction, in recognizing the law -of the domicile, as to enforce a claim of property in slaves (Madrazo v. Willes, 3 Barn. & Ald. 353. See, also, Greenwood v. Curtis, 6 Mass. 358; Com. v. Aves, 18 Pick. 215; The Antelope, *56810 Wheaton, 66); and so far in another jurisdiction as to hold good a sale of lottery tickets- in this State. (M’Intyre v. Parks, 3 Metc. 207.) ”
The notes of Judge Story (Story Confl. Laws [8th ed.], § 38) indicate the views of eminent judges that in such a case as the one in hand the recognition of the lex loci contractus is not merely based upon comity or ex comitate, but rather ex debito justifies. There is a further consideration: The citizen of each State is, of course, entitled to the rights and remedies which are open to our own citizens. But the courts often lay stress on the fact that comity will not be exercised when it prejudices the rights of Our own citizens or denies to them the benefit of our own laws. (Kelly v. Crapo, supra; Edgerly v. Bush, 81 N. Y. 199, 204; Story Confl. Laws [8th ed.], § 324; Marshall v. Sherman, 148 N. Y. 9, 25.) Surely a Maine corporation which leaves its own State cannot, in our courts, call for the exclusion of comity toward courts of that State on the ground last indicated.
The learned counsel for the defendant makes the point that as the-judgment in Brunswick Gas Light Co. v. United Gas, Fuel & Light Co. (supra) is but evidence of the Common law which was available subsequent to the execution of the lease and the giving of the bond, it should not affect the contract of suretyship. The judgment did not create the law, for it was but proof thereof. It wrote the legal principle which, in the theory of the common law, was still unwritten. The judgment is not evidence of the \ common law, which but came into life when the judgment was ren- \ dered, (Norway Plains Company v. Boston & Maine Railroad, 1 Gray, 263. See, too, Rensselaer Glass Factory v. Reid, 5 Cow. 587, 629; Henry v. Bank of Salina, 5 Hill, 523, 525; Jacob v State, 3 Humph. 493.)
The evidence is that the contract of -lease was void in the State of Maine as against public policy. Such contracts will not be upheld if they be injurious to the public good. (Brooks v. Cooper, 50 N. J. Eq. 761, 768.) If the original contract was illegal, then the surety is discharged of his suretyship therefor. In addition to the authorities cited by Yañn, J., in his dissenting opinion in Claffy's Case (supra), I may venture to add Joslyn v. Dow (19 Hun, 494); Denison v. Gibson (24 Mich. 187); Ferry v. Burchard (21 Conn. *569597); Winn v. Sanford (145 Mass. 302); Swift v. Beers (3 Den. 70); Kimball v. Newell (7 Hill, 116); Bard v. Poole (supra, 501). There is an exception to this principle, as is indicated by some of these authorities, but this is when the contract itself is legal.
Bartlett, Woodward and Hooker, JJ., concurred ; Hirschberg, J., dissented.
Judgment reversed and new trial granted, costs to abide the event.