Opinion
A provision in an agreement allows for the recovery of attorney fees to the prevailing party in any action or proceeding arising out of the agreement. Here we hold that such a provision permits attorney fees to the prevailing party in a tort cause of action under Code of Civil Procedure section 1021.
George and Jane Ward (the Wards) appeal from the trial court’s denial of their motion for attorney fees after the court entered judgment against respondents, Norman and Ina Lerner (the Lerners). We reverse.
Facts
The Lerners sued the Wards and others for falsely representing that the real property they agreed to purchase from the Wards could be subdivided. The complaint initially included causes of action for breach of contract and for reformation as well as for fraud, breach of fiduciary dúty and negligence.
Before trial commenced, the Lerners dismissed the breach of contract and reformation causes against all defendants. The Lerners proceeded against the Wards only on the fraud cause of action.
After the jury returned a verdict in favor of the Wards, they unsuccessfully moved for attorney fees. The trial court denied the motion because our Supreme Court has held that attorney fees are not recoverable in a tort action for fraud arising out of a contract within the meaning of Civil Code
*158
section 1717.
(Stout
v.
Turney
(1978)
Discussion
“ ‘An award of attorney fees is a matter within the sound discretion of the trial court and absent a manifest abuse of discretion the determination of the trial court will not be disturbed.’ [Citation.]”
(Bussey
v.
Affleck
(1990)
“Unless authorized by either statute or agreement, attorney’s fees ordinarily are not recoverable as costs. [Citations.]”
(Reynolds Metals Co.
v.
Alperson
(1979)
The Wards contend they are entitled to attorney fees, either under Civil Code section 1717 or under Code of Civil Procedure section 1021.
Civil Code section 1717 states in pertinent part: “(a) In any action on a contract, where the contract specifically provides that attorney’s fees and costs, which are incurred to enforce that contract, shall be awarded either to one of the parties or to the prevailing party . . . . [f] (b)(1) The court. . . shall determine who is the party prevailing on the contract for purposes of this section .... The court may also determine that there is no party prevailing on the contract for purposes of this section. [][] (2) Where an action has been voluntarily dismissed . . . , there shall be no prevailing party for purposes of this section.”
“In resolving a motion for attorney fees, the [trial] court should consider the pleaded theories of recovery, the theories asserted and the evidence produced at trial, if any, and also any additional evidence submitted on the motion in order to identify the legal basis of the prevailing party’s recovery. [Citations.]”
(Boyd
v.
Oscar Fisher Co., supra,
Here, the Lerners pled a purchase agreement in a contract cause of action. The agreement contains a provision permitting recovery of attorney fees to *159 the prevailing party “[i]n any action or proceeding arising out of this agreement . . . The Lerners voluntarily dismissed that cause of action before trial, however, and proceeded only on a tort theory.
In
Stout
v.
Tumey, supra,
the Supreme Court held, inter alia, that “[a] tort action for fraud arising out of a contract is not, however, an action ‘on a contract’ within the meaning of this section [1717].”
(Stout
v.
Turney, supra,
22 Cal.3d at pp. 723, 730; see also
McKenzie
v.
Kaiser-Aetna
(1976)
In
Reynolds Metals Co.
v.
Alperson, supra,
In
Perry
v.
Robertson
(1988)
In the instant case, because the trial court entirely dismissed the Lerners’ contract action upon their motion at the inception of the trial, this action cannot be construed as a hybrid between contract and tort. (See generally,
D & J, Inc.
v.
Ferro Corp.
(1986)
The Wards also argue they are entitled to attorney fees under Code of Civil Procedure section 1021, a position they raised in their motion for attorney fees to the trial court. Section 1021 states in pertinent part: *160 “Except as attorney’s fees are specifically provided for by statute, the measure and mode of compensation of attorneys ... is left to the agreement, express or implied, of the parties . . . .”
The Wards urge this court to construe the phrase “arising out of this agreement” broadly here. To support their position, the Wards cite
Xuereb
v.
Marcus & Millichap, Inc.
(1992)
The Xuereb court found the language in the purchase agreement, providing for attorney fees to the prevailing party in any “ ‘lawsuit or other legal proceeding’ to which ‘this Agreement gives rise,’ ” sufficiently broad “to encompass both contract actions and actions in tort . . . .” (Xuereb v. Marcus & Millichap, Inc., supra, 3 Cal.App.4th at pp. 1342-1343.) The Xuereb court determined that its interpretation of the circumstances is in accord with the apparent intention of the parties because “the complaint does not indicate that respondents were seeking attorney fees only in connection with their contract cause of action and not in connection with their tort claims, or that their attorney fees claim was limited to parties other than appellants.” (Id., at p. 1343.)
In the instant case, the clause in the contract concerning attorney fees was similar to the clause in the Xuereb case. The clause was not limited merely to an action on the contract, but to any action or proceeding arising out of the agreement. This included any action for fraud arising out of that agreement.
It is true when the Lerners voluntarily dismissed their contract cause of action before trial and proceeded only on a tort theory, they gave up the opportunity to obtain attorney fees pursuant to Civil Code section 1717. They still, however, had the opportunity to obtain attorney fees pursuant to Code of Civil Procedure section 1021. This is because the tort cause of action arose out of the written agreement. The Lerners alleged and tried to prove that the Wards, through their fraudulent representations, induced the Lerners to enter into an agreement to purchase the property.
The Wards were the prevailing party and they were entitled to recover reasonable attorney fees as costs pursuant to the terms of the agreement.
*161
(Code Civ. Proc., § 1021; see also Code Civ. Proc., § 1033.5, subd. (a)(10)(A), (B), which provides that attorney fees authorized by contract or statute are allowable as costs.) “The parties to a contract may validly agree to allow for the award of attorney’s fees, even though the suit is based on tort rather than contract.”
(Skyway Aviation, Inc.
v.
Troyer
(1983)
The trial court’s order denying attorney fees is reversed. The matter is remanded for the trial court to determine reasonable attorney fees at trial and on appeal. The Lerners to pay costs on appeal.
Stone (S. J.), P. J., and Yegan, J., concurred.
A petition for a rehearing was denied March 10, 1993.
