The precise question presented by the appeal in this action has been twice before the courts of this State, and received the same solution in each. It first arose in
King
v.
Whitely,
King
v.
Whitely
was followed, and the same rule applied
*283
by an undivided court in
Trotter
v. Hughes,
The clause in the conveyance in
Trotter
v.
Hughes
was not in terms precisely like that
in King
v.
Whitely,
or in the grant under consideration. The undertaking by the grantees to pay the mortgage debt as recited, was not in express terms, or as explicit as in the other conveyances. But the recital was, I think, sufficient to justify the inference of a promise to pay the debt, and so it must have been regarded by the court. The case was not distinguished by the court in any of its circumstances from
King
v.
Whitely,
but was supposed to be on all fours with and governed by it. Had the grantor in that ease been personally bound for the payment of the debt, I am of the opinion that an action would have been sustained against the grantee upon a promise implied from the terms of the grant accepted by him to pay it, and indemnify the grantor. It must have been so regarded by this court, otherwise no question would have been made upon it, and the court would not have so seriously and ably fortified and applied the doctrine of
King
v.
Whitely.
A single suggestion that there was no midertaking by the grantee and no personal liability for the payment of the debt assumed by him, would have disposed of the claim to charge him for the deficiency upon the sale of the mortgaged premises. The rule which exempts the grantee of mortgaged premises subject to a mortgage, the payment of which is assumed in consideration of the conveyance as between him and his grantor, from liability to the holder of the mortgage wh'en the grantee is not bound in law or equity for the payment of the mortgage, is founded in reason and principle, and is not inconsistent with that class of cases in which it has been held that a promise to one for the benefit of a third party may avail to give an action directly to the latter against the promissor, of which
Lawrence
v.
Fox
(
It is true there need be no privity between the promissor and the party claiming the benefit of the undertaking, neither is it necessary that the latter should be privy to the consideration of the promise, but it does not follow that á mere volunteer can avail himself of it. A legal obligation or duty of the promissee to him, will so connect him with the transaction as to be a substitute for any privity with the promissor, or the consideration of the promise, the obligation of the promissee furnishing an evidence of the intent of the latter to benefit him, and creating a privity by substitution with the promissor. A mere stranger cannot intervene, and claim by action the benefit of a contract between other parties. There must be either a new consideration or some prior right or claim against one of the contracting parties, by which he has a legal interest in the performance of the agreement.
It is said in
Garnsey
v.
Rodgers
(
In
Lawrence
v.
Fox
a prominent question was made
in limine,
whether the debt from Halley to the plaintiff was sufficiently proved by the confession of Halley made at the time of the loan of the money to the defendant. It was assumed that if there was no debt proved the action would not lie, and the declaration of Halley the debtor was held sufficient evidence of the debt. Gray, J., said : “ All the defendant had the right to demand in this case was evidence which as between Halley and the plaintiff was competent to establish the relation between them of debtor and creditor.” In
Burr
v.
Beers,(24
N. Y., 178), and
Thorp
v.
Keokuk Coal Co.,
(
The court below erred in giving judgment against the appellant for the deficiency after the sale of the mortgaged premises, and so much of the judgment as directs her to pay the same must be reversed with costs.
All concur, except Earl, J., dissenting.
Judgment accordingly.
