The real estate mortgage which the plaintiff is foreclosing by this suit was assigned to it with the. bond by the defend'ant The Long Island Real Estate Exchange and Investment Company, the mortgagee therein, who is the demurrant. The complaint alleges that the defendant mortgagor claims that after such assignment to •the plaintiff, and without notice or knowledge thereof, he made *13certain payments on the said bond and mortgage to the said mortgagee, and prays that the amount thereof may be ascertained, and that it be adjudged that the said mortgagee (or its receiver, he being made a party) pay tire same to the plaintiff. This is manifestly all germane to the foreclosure of the mortgage. The mortgagor is entitled to be credited by the plaintiff with all payments so made by him to the said mortgagee after it assigned the-bond and mortgage to the plaintiff. The amount of such payments must be ascertained, and the said mortgagee is a proper party to that inquiry, and therefore a proper party to this suit. The case of Reynolds v. Ætna Life Insurance Co. (28 App. Div. 591) is similar to the present one.
The right to demur is quite different in equity to what it is in a common-law action. In equity it is not necessary that all parties defendant be necessary parties, as in an action at law; it suffices that they are proper parties. A cause of action has to be alleged against the main defendant or he may demur, but one brought in merely as a proper party is in a very different position. He may be made a party only because he has some claim^or controversy which is germane to the main issue. And if the controversy cannot be completely decided without bringing in another party, the trial court may suspend the trial until he be brought in (Code Civ. Proc. § 452).
It seems to have been overlooked also that this complaint contains the usual allegation that each of the defendants has or claims to have some lien or interest which, if it exists, accrued subsequent to the mortgage and is subordinate thereto, and which is enough to make a defendant a proper party.
The judgment should be reversed.
Woodward, Jerks and Miller, JJ., concurred; Rich, J., dissented.
Interlocutory judgment, with costs, reversed, and demurrer overruled, with costs.