This appeal from the order of the trial court sustaining appellees’ preliminary objections raises the novel question in Pennsylvania whether a devisee may maintain a cause of action for legal malpractice against counsel for the testator when the devise fails due to improprieties in the execution of the will. We hold that such an action may be maintained and accordingly, we reverse the order of the court of common pleas.
The pertinent facts are as follows. Appellant’s decedent (hereinafter plaintiff) filed a complaint in trespass and in assumpsit on January 23,1976, alleging that on February 24, 1957, she attested the will of Edward J. Kent, Jr., which was prepared by appellee Harry J. Liederbach, counsel for Mr. Kent. The will directed that she receive the residue of the estate, after payment of a $4,500 bequest, and it nominated her to be the executrix. At the time of the execution of the will and at his death, the testator owned a parcel of real estate in Avalon, New Jersey. In 1974, a probate court in Camden County, New Jersey, citing a New Jersey statute, 1
*546 ruled that plaintiff was barred from taking under the will because she was an attesting witness. Her complaint alleged that the demise of the devise was caused by the negligence of appellee Liederbach in “directing” and “advising” her to be an attesting witness to the will while knowing that the testator was seized of real property in New Jersey, and she sought damages from appellees in an amount in excess of $10,000.
Appellees filed preliminary objections in the nature of a demurrer and alleged that the suit could not be maintained because: (1) no privity existed between plaintiff and appel-lees; and (2) the decision of the New Jersey court constituted collateral estoppel. The court of common pleas, in sustaining appellees’ preliminary objections and dismissing the complaint, concluded that the suit was precluded due to a lack of an attorney-client relationship between plaintiff and appellees.
On appeal, appellant urges this court to adopt “the modern trend of recent decisions disposing of the instant question” and hold that an injured party may maintain a cause of action against an attorney regardless of the existence of privity of contract. We agree with appellant and conclude that the better view is to allow the maintenance of such a suit in accordance with the principles set forth herein.
Initially, we note that when considering preliminary objections in the nature of a demurrer, we accept as true all
*547
well — pleaded material facts in the complaint as well as all inferences reasonably deducible therefrom.
Allstate Insurance Co. v. Fioravanti,
1. e.,
it must appear with certainty that, upon the facts averred, the law will not permit recovery by the plaintiff.
Allstate Insurance Co. v. Fioravanti, supra; Clevenstein v. Rizzuto,
Although no appellate court
2
in this jurisdiction has ruled on the issue here presented, a number of other jurisdictions have addressed the question whether an attorney may be liable to a third party in an action arising out of his professional duties to his client. In denying liability in such actions to one not in privity of contract, courts have relied principally on two arguments: (1) that to allow such liability would deprive the parties to the contract of control of their own agreement; and (2) that a duty to the general public would impose a huge potential burden of liability on the contracting parties.
See Fickett v. Superior Court of Pima County,
While it appears that a majority of states maintain that an attorney who acted negligently in the execution of his professional duties will not be liable to persons with whom he was not in privity of contract, this is a rapidly-eroding majority. Even some states that continue to maintain their prohibition of such suits have intimated that the privity requirement may be abolished in the future.
See, e. g., McEvoy v. Helikson,
The better view, we believe, is that, under certain circumstances, an attorney may be liable for damage caused by his negligence to a person intended to be benefitted by his performance irrespective of any lack of privity. In making the determination whether, in a particular case, the privity requirement should be dispensed with, the fact-finder shall employ a balancing test. This test, enunciated in the California case of
Lucas v. Hamm,
In ruling that lack of privity will not bar a suit by a third party against an attorney, several states have adopted the
Lucas
test.
See, e. g., Fickett v. Superior Court of Pima County, supra; Licata
v.
Spector,
If, after applying the balancing test, it is determined that the criteria for dispensing with the privity requirement are not met, then the plaintiff’s cause of action in negligence must fail. If, however, it is determined that the criteria are met, then application of traditional negligence standards as well as proof of damages are in order. In this regard, we note that recently this court has had occasion to elucidate the essential elements of causes of action for professional negligence. In the case of
Schenkel v. Monheit,
“There are three essential elements which must be established to bring a cause of action for professional negligence. These are:
‘1. The employment of the attorney or other basis for duty;
2. The failure of the attorney to exercise ordinary skill and knowledge; and
3. That such negligence was the proximate cause of damage to the plaintiff.’
*550 R. Mallen & V. Levit, Legal Malpractice 123 (1977)”
(footnote omitted).
As has been previously noted, plaintiff’s complaint alleged not only a cause of action in negligence, but also one in assumpsit based on a third party beneficiary theory.
The traditional rule in Pennsylvania regarding third party beneficiaries is that an injured party may not recover under such a theory unless both parties to the contract intended to benefit the party and indicated that intention in writing,
Farmers National Bank v. Employers Liability Assurance Corp.,
*551
In a subsequent case, the supreme court recognized the difficulty of requiring that the intent to benefit a third party be expressed in the contract itself. In
Pennsylvania Liquor Control Board v. Rapistan, Inc.,
“There has been some criticism recently concerning the requirement that the intent to benefit a third party be expressed in the contract itself. See, e. g., Hillbrook Apartments, Inc. v. Nyce Crete Co. [237 Pa.Super.] at 577,352 A.2d at 154 (dissenting opinion of Cercone, J., joined by Jacobs, J.). Indeed, statements in many cases appear to indicate that the intent of the parties to benefit another should be determined from the circumstances surrounding the contract as well as from the contract itself. See, e. g., Silverman v. Food Fair Stores, Inc.,407 Pa. at 509-10 ,180 A.2d at 895 (‘ “The question whether a contract was intended for the benefit of a third person is one of construction. The intention of the parties in this respect is determined by the terms of the contract as a whole, construed in the light of circumstances under which it was made.” ’); Mowrer v. Porrier v. McLane Corp.,382 Pa. 2 ,114 A.2d 88 (1955); Hillbrook Apartments, Inc. v. Nyce Crete Co., supra.
The PLCB argues that this Court should adopt the standard for intended beneficiary status set forth in section 133 of the Restatement (Second) of Contracts (Rev. ed. Tentative Drafts 1-7, 1973), which abolishes the distinction between creditor and donee beneficiaries. See also
Hillbrook Apartments, Inc. v. Nyce Crete Co.,
supra,
‘(1) Unless otherwise agreed between promisor and promisee, a beneficiary of a promise is an intended beneficiary if recognition of a right to performance in the beneficiary is appropriate to effectuate the intention of the parties and
*552 (b) the circumstances indicate that the promisee intends to give the beneficiary the benefit of the promised performance.’
Under this Restatement provision, a third party is an intended beneficiary only if he can reasonably rely on the contract as manifesting an intent to confer a right on him. Restatement (Second) of Contracts § 133 (comment d) (Rev. ed. Tentative Drafts 1-7, 1973). Thus, although there is no requirement that the intent to create an intended beneficiary be expressed in the contract, there must still be evidence, sufficient to permit reasonable reliance, that the promisee and promisor intended to confer a right on a third party.” Id.,472 Pa. at 44^-46,371 A.2d at 182 . (footnote omitted).
Applying the Restatement approach to that case, the supreme court concluded that the facts and circumstances there failed to indicate that the parties to the contract intended a right to flow from their contract directly to a third party.
Our review of the order of the court of common pleas leads us to the conclusion that the court applied an erroneous standard in dismissing plaintiff’s complaint in assumpsit. That order, dated November 17, 1978, sustained appellees’ preliminary objections on the basis of a lack of an attorney-client relationship (i. e. privity) between the parties. Privity, however, is not an essential element of an assumpsit action based on a third party beneficiary theory. In fact, the absence of privity is assumed in such suits. The proper inquiry is whether plaintiff alleged facts that, if true, would entitle her to recovery as a third party beneficiary, i. e., is there sufficient evidence that the promisee and promisor intended to confer a right on plaintiff to permit her reasonable reliance on that contract.
Accordingly, we find that it was error for the trial court to sustain appellees’ preliminary objections on the grounds *553 of lack of privity. 3 Considering all well — pleaded facts in the complaint as well as all inferences reasonably deducible therefrom, we hold that the case is not so clear and free from doubt as to conclude that recovery by appellant is prohibited by law.
The order of the trial court is reversed and the case is remanded to the court of common pleas for further proceedings consistent with this opinion.
Notes
. The statute applied was N.J.Stat.Ann. §§ 3A:3-6 and 3A:3-7. Those sections provided as follows:
“Effect of devisee or legatee attesting will.
No person who has attested a will shall be incompetent to testify concerning the execution thereof by reason of his being a beneficiary thereunder; but whether or not he testifies, as to him and those claiming under him, any beneficial devise, legacy, estate, *546 interest, gift or appointment of or affecting real or personal property, except a charge on real property for the payment of a debt, shall be void.” N.J.Stat.Ann. § 3A:3-6.
“Attesting witness not to receive gift directly or indirectly.
No attesting witness to whom a beneficial estate, interest, gift, or appointment is given or made, which is declared void pursuant to section 3A.-3-6 of this title, shall demand or take possession of, or receive any profit or benefit of or from such estate, interest, gift or appointment so given or made to him by the will, or demand, receive or accept from any person any such legacy or bequest, or any satisfaction or compensation for the same, in any manner or under any color or pretense whatsoever.” N.J.Stat.Ann. § 3A:3-7.
In 1978, New Jersey repealed the above provisions and adopted the Uniform Probate Code which does not invalidate any will or provision thereof merely because the will was signed by an interested witness. See N.J.Stat.Ann. § 3A:2A-7(b).
. The United States District Court for the Eastern District of Pennsylvania has held that for a plaintiff to recover against a defendant law Arm in a legal malpractice case, it generally is essential that an attorney-client relationship exist between the parties.
See Connelly v. Wolf, Block, Schorr and Solis-Cohen,
. We recognize appellees’ brief presents two further arguments in support of their additional preliminary objections in the nature of a demurrer, but we find no merit to those arguments.
