By the Court,
Shafter, J.This action was brought by Walker, in his lifetime, to compel the execution of a trust, or, alternatively, to enforce a vendor’s lien.
The complaint alleges that on or about the 6th of January, 1862, Walker and J. C. Wilson were partners in business, and were about closing up their partnership affairs; that the firm was embarrassed with debts and that some of the creditors had commenced attachment suits against the firm ; that by-reason of the dissipated habits of Walker, and with a view to a more speedy liquidation of their debts, Walker executed to Wilson a deed, absolute on its face and expressing a consideration of seventeen thousand dollars, of a certain ranch, the same being the individual property of Walker; that the deed was, in fact,, a trust, and was made solely for the purpose of enabling Wilson to raise money, by mortgaging the premises, to pay off the debts of the firm; and that, on the day of the execution of the deed, he borrowed several large sums for the benefit of the firm and secured the payment thereof by mortgages on the premises so conveyed to him by Walker. That Walker also, and by the same deed, conveyed to Wilson his interest in certain ditches belonging to the firm, for the purpose aforesaid, and that said ditches were included in the said mortgages. That the possession of the. ranch remained with Walker after the deed, as before, and that he participated as before in the management of the ditch property. That Wilson, in his lifetime, never denied the trust; but, on the contrary, always admitted it. That the defendant, E. P. Wilson, his administrator and one of his heirs at law, admitted the trust in his answer first filed, but which he after-wards withdrew by the Court’s leave. That the grantor and *637grantee were intimate friends, and that the deed was given under a misapprehension as. to its legal effect. Under this aspect of the complaint the plaintiff prays that the administrator may be decreed to execute the trust by reconveying the property, subject to the aforesaid mortgages.
In a supplemental complaint, filed by leave of the Court and by the consent of the defendants, it is alleged as a further cause of action, that the aforesaid conveyance was in pursuance of a sale for the sum of seventeen thousand dollars, expressed in the deed; that the money is due and unpaid; that a claim for that amount was presented in due form to Wilson’s administrator for allowance, June 21st, 1864, together with the evidence in support of a vendor’s lien on the property embraced in the deed, and that the claim was rejected by the administrator on that day. On these allegations the plaintiff claims judgment for the seventeen thousand dollars and interest thereon from the date óf the deed, and that the land conveyed may be sold and the avails applied to the liquidation of the debt and for other relief.
The complaint as amended was demurred to for want of facts, misjoinder hf causes and for uncertainty and ambiguity. The demurrer was sustained -by the Court, and the plaintiff declining to amend, .judgment was entered dismissing the action.
First—The complaint not only fails to disclose an express trust but it appears affirmatively that there was none; and it sets forth no facts from which a trust would arise by implication of law. For can the complaint be sustained as a bill to reform the deed. However Walker may have mistaken the legal effect of its terms, there is no averment that the language of the deed is not the very language which he intended to use; and- against the mistake of law alleged there can be no redress. The class of cases in which mistakes of that character are corrected in equity is very limited, and this is not brought within any recognized exception to the general rule, by the necessary averments. (1 Sto. Eq. Chap. 5; 4 Rus. 424; 16 Cal. 351.)
*638The position that the trust is rescued from the' operation of the Statute of Frauds by the allegation that the answer first filed by the administrator admitted the trust, is not tenable for a number of reasons, only one of which, however, need be specified here. If a defendant sought to be charged upon a contract within the Statute of Frauds, admits the contract in his answer and does not claim the benefit of the statute, he is considered as waiving its protection and as furnishing by his answer the very proof which the statute requires. But if the admission is coupled with a claim to the protection of the statute, the rights of the party stand as though the admission had not been made. (2 Story’s Eq. Jud. Sec. 757.) While the complaint in this case avers the admission, it fails to fill or complete the legal proposition by an averment that the statute was waived as a defense by an omission to assert it in the answer.
Second—Under the second aspect in which the general transaction is presented in the complaint, the plaintiff is entitled to relief.
If, as the supplemental complaint alleges, Walker sold the land to Wilson for seventeen thousand dollars, and the purchase money has not been paid,, then the plaintiff is a creditor of Wilson’s estate to that amount, and on general principles has a lien on the land sold as security for the debt. (Leman v. Whitney, 4 Rus. 427.) To that extent Wilson in his lifetime held the laud in trust for his vendor,- and the trust has descended to his representative and heirs. The principle upon which Courts of equity proce'ed in establishing this lien is," that a person who has gotten the estate of another ought not in conscience, as between them, to keep it and not pay the full consideration money. (Cahoon v. Robinson, 6 Cal. 226; Sparks v. Hess, 15 Cal. 192.) Nor do we understand that these principles are disputed by the respondents f but they' insist, first, that the claim in question is improperly joined in the complaint with the claim based upon the alleged trust; and second, that the money claimed and the lien as collateral thereto are barred on the ground “ that more than ten months *639had elapsed after the appointment and qualification of the defendant, E. P. Wilson, as administrator of J. C. Wilson, and after the first publication of notice by said administrator to the creditors of said estate, requiring them to present their claims to said administrator for allowance, before the claim was in fact presented.”
There is no misjoinder of causes. Both of the claims stated in the complaint are founded on trusts—one lying in contract and the other arising by act and operation of law. (Practice Act, Sec. 64.) And as to the second objection, it is sufficient to say that it does not appear, from the complaint, when the notice to credito/s was first published; nor, in fact, that any publication has been made or ordered.
The objection that there can be no recovery of the seventeen thousand dollars, and no enforcement of the vendor’s lien as collateral thereto, until the affairs of the partnership shall have been adjusted, is not well taken. The supplemental complaint treats the sale and conveyance of the land by Walker to Wilson as a matter having no connection with the business of the partnership, and as being, in short, what it purports to have been by the terms of the deed—a transaction between the two men, each acting for himself alone.
The judgment is reversed and cause remanded. And it is ordered that the defendants have twenty days to answer from the time notice shall have been given them of the filing of the remittitur.