Tbis action was brought to foreclose a mortgage of tbe undivided balf of a number of lots in tbe city of New York. Tbe appellant,
*17.3 the mortgagor, admitted by Ms answer tbe execution and delivery of the bond and mortgage described in tbe amended complaint ; and, “ for a third separate defense and counter-claim,” be alleged tbat, about tbe time of tbe date of tbe mortgage, be was about purchasing tbe whole of tbe property described in tbe complaint and mortgage, and required for such purpose, among other moneys, tbe sum of $50,000 ; tbat tbe plaintiffs agreed to lend to bin tbat amount in consideration of Ms agreeing to pay tbe same with legal interest, and to secure its payment by a mortgage of such property; tbat in reality they advanced and lent him only $38,000, and instead of receiving one mortgage for tbe entire amount of $38,000, they desired and requested him to give them a mortgage of $25,000, payable in two years from its date, and to secure tbe residue by giving to plaintiff an absolute deed 'of one-balf of said property, which it was distinctly agreed was to be taken, received and regarded as a mortgage; tbat in violation of said agreement, tbe plaintiffs now maintain and allege tbat tbe formal conveyance of tbe one-balf of tbe land was an absolute and unqualified deed, and refuse to regard it otherwise, though often requested' so to do: tbat tbe defendant is, and has been at all times, ready and willing to pay tbe said sum of $38,000, and interest and all proper expenses, upon a reconveyance of tbe said one-balf of said lands, and. tbe satisfaction and cancellation of tbe mortgage on which this suit was brought; ” and be prays judgment, in substance, tbat tbe deed for one-balf of tbe lands be declared a mortgage, and tbat plaintiffs be compelled, upon payment of said sum of $38,000, and any sum which may be found to be due to them, to execute a reconveyance of tbe property therein described, and to satisfy tbe mortgage upon wMcb this smt was brought. Tbe court below held tbat this answer did not set up a counter-claim within tbe mearnng of section 150 of tbe Code, because tbe cause of action alleged as a counterclaim did not arise out of tbe contract or transaction set forth in tbe complaint as tbe foundation of tbe plaintiffs’ claim, and was not connected with tbe subject of tbe action. We think tbe court below was in error. Tbe allegations of tbe answer show, in substance, tbat an agreement was made for a loan upon tbe whole of tbe lands described in tbe mortgage and complaint, to be secured by a mortgage on tbe whole, but tbat tbe plaintiffs, when they *18advanced the $38,000 under such agreement, required the appellant to execute a bond and mortgage upon one-half of the property to secure $25,000 of the moneys advanced, and to secure the balance of $13,000 by an absolute deed of the other half of the lands, which was really to be a mortgage, although in the form of an absolute deed. It alleges his readiness and offer to repay the whole loan of $38,000 upon the satisfaction of the mortgage in suit, and the reconveyance of the equal undivided one-half of the lots so conveyed to them; and it also alleges that the plaintiffs assert and maintain that the deed to them is absolute and unqualified, and not a mortgage, and claim to hold said lots as if granted to them in fee; and the relief ashed by the defendant is, that the deed of the lots may be declared a mortgage, and that he may be permitted to pay off the whole loan upon the reconveyance of the equal undivided one-half of the lands, and the satisfaction of the mortgage in suit. This statement shows a case which, in our judgment, is within the provisions of section 150 of the Code, for if the allegations of the defendant be as alleged in the counter-claim, it does arise out of the contract or transaction set forth in the complaint as the foundation of the plaintiffs’ claim, and is directly connected with the subject of the action.
There is no difficulty in trying the controversy thus presented in this action between the plaintiffs and the defendant Willis. If the defendant succeeds in establishing his claim, he will be able to redeem the whole of said lots by payment of the amount found due upon the entire loan of $38,000 ; and it may be to his interest and advantage to do that, while it may be quite otherwise in respect only to the part actually covered by the mortgage for $25,000. He has the right, we think, to have the question litigated in this action. The reply was therefore necessary under the Code, and the defendant was right in his motion under section 151. ••
The court below, however, would undoubtedly have given leave to reply on terms, instead of rendering final judgment on the counter-claim, if it had not come to the conclusion that the answer did not contain a counter-claim. We ought to give the same directions. The order below should be reversed, and an order entered granting judgment upon the counter-claim, unless the respondents shall, within twenty days after the service of the order to be entered *19hereon, serve a reply to the counter-claim, and pay ten dollars costs of the motion below, and ten dollars costs of appeal, besides disbursements.
Beady and Daniels, JJ., concurred.Order reversed; order entered granting judgment on counterclaim, unless respondents, within twenty days after service of order to be entered hereon, serve a reply to counter-claim, and pay ten dollars costs of motion below, and ten dollars costs of appeal, besides disbursements.