This is an action of contract to recover under an oral agreement, by which the defendant’s testatrix was to pay the plaintiff for his services as her attorney by bequeathing to him the sum of $1,000. The plaintiff disclaimed any right to recover for the value of his services; he sought to recover solely upon the agreement, and “waived any other right to maintain this action.” The defendant’s answer was a general denial, the statute of limitations and the statute of frauds. The court directed a verdict for the defendant.
R. L. c. 74, § 6, provides that no agreement to make a will or give a legacy shall be binding unless the agreement is in writing.It is plain, therefore, that the plaintiff cannot recover on the oral agreement upon which he relies; and the fact that the promise was made to pay by legacy for the services which had been per*429formed, and the services to be performed in the future, does not give the plaintiff the right to recover on the contract. The statute was passed to prevent fraud and perjury, and is a bar to recovering on an agreement where a promise is made to pay a debt by giving a legacy to the creditor. Emery v. Burbank, 163 Mass. 326.
Exceptions overruled.