delivered the opinion of the court:
Plаintiff, B.T. Explorations, Inc., appeals the dismissal with prejudice of its third amended complaint alleging legal malpractice against defendant, David L. Stanley, doing business as Stanley Law Offices. The third amended complaint was dismissed with prejudice by order of thе circuit court of White County dated July 18,1988. We affirm.
Plaintiff’s third amended complaint, filed February 23, 1988, alleges that sometime prior to September 27, 1982, plaintiff retained and hired defendant to negotiate for it the purchase of a mineral leasehold estatе on certain real estate. The complaint alleges that defendant was to examine the title of the seller, to ascertain the state of said title and any encumbrances thereon, to advise plaintiff of any problems with the title and to cure, if possible, any such problems or encumbrances. The complaint alleges that defendant undertook to examine said title for consideration and had a duty to exercise the ordinary care of an attorney as it relates to examining mineral titles. The complaint alleges that defendant verbally advised plaintiff that the seller had “good title” and that plaintiff could proceed with the purchase and would receive clear title.
Relying on defendant’s advice, plaintiff purchаsed the seller’s mineral estate and drilled and completed an oil well thereon. The complaint alleges that defendant breached his duty of reasonable care in the examination of the title in that the seller had no claim or interest in the real property and that defendant knew or should have known that the seller had no interest in the real estate. Finally, the complaint alleges that plaintiff was damaged in the amount of the purchase price of the real estate and the cost of drilling and completing the oil well.
On March 28, 1988, defendant filed a motion to dismiss the third amended complaint for the reasons that: (1) plaintiff is judicially estopped from claiming that it did not receive clear title to the mineral estate when it had assеrted under oath in a prior judicial proceeding that it did have clear title; (2) plaintiff did not list the pending lawsuit on its petition in bankruрtcy and therefore should not be allowed to recover herein; and (3) plaintiff cannot demonstrate causation and damages because it voluntarily transferred its interest in the mineral estate to another and received consideration therefore. In a docket entry order dated July 18, 1988, the trial court dismissed plaintiff’s complaint with prejudice, “adopting the argumеnt of Judicial estoppel cited by the defendant.”
Plaintiff appeals, arguing that all the requirements necessary for aрplication of the doctrine of judicial estoppel have not been satisfied. We find it unnecessary to discuss the propriety of the application of the doctrine of judicial estoppel to this case because we find that the judgment of the circuit court may be affirmed on a different basis.
It is well settled that a reviewing court is not bound by the reasons given by the triаl court for its judgment and the judgment of the trial court may be affirmed upon any ground warranted in the record, regardless of whether it was relied on by the trial court. (Alexander v. DePaepe (1986),
In оrder to state a cause of action for legal malpractice, a plaintiff must allege facts demonstrating: (a) thе existence of an attorney/client relationship; (b) a duty arising from that relationship; (c) a breach of that duty on the part of defendant/counsel; (d) proximate cause; and (e) damages. Claire Associates v. Pontikes (1986),
Defendant argues that thе complaint does not set forth sufficient facts to demonstrate a breach of duty because it does not allege thаt had defendant done what he was hired to do he would have discovered a title defect. Plaintiff’s complaint alleges thаt defendant breached his duty of reasonable care to plaintiff in the examination of the title because the seller did not have title to the real estate and defendant knew or should have known seller did not have title. That defendant “knew or should have known” that the seller did not have title to the real estate is a mere conclusion and is not supported by any faсts. The complaint does not allege that there was a defect in the record chain of title, what that defect was оr, most importantly, that the defect was one which defendant should have discovered in the exercise of reasonablе care. Although pleadings are to be liberally construed, a complaint must, nevertheless, contain facts necessаry to state a cause of action. (Ritchey v. Maksin (1978),
Although we find that the third amended complaint was properly dismissed, we must now determine whether dismissal with prejudice was appropriate. A complaint may be dismissed with prejudice if it furthers the ends of justice. Thus, the court may determine the ultimate efficacy of a claim and whether plaintiff had previous opportunities to assert his claim. (Plocar v. Dunkin’ Donuts of America, Inc. (1981),
For the foregoing reasons the judgment of the circuit court of White County is affirmed.
Affirmed.
RARICK and GOLDENHERSH, JJ., concur.
