Opinion
The issue raised by this appeal is whether a defendant, who has been successful in having the plaintiff’s cause of action *337 dismissed because it was not brought to trial within five years, is entitled to attorney’s fees pursuant to section 1717 of the Civil Code.
The five-year history of the litigation is as follows:
Plaintiffs filed their complaint on April 6, 1967, for specific performance and appointment of a receiver under and by virtue of a note secured by a deed of trust in the amount of $75,000. Plaintiffs sought a preliminary injunction, an appointment of a receiver, and attorney’s fees pursuant to the terms of the note. Defendants filed an answer on June 2, 1967, denying the allegations of the complaint and pleaded various affirmative defenses. On April 6, 1967, the court appointed a receiver, ex parte, on the real property securing the note. Upon defendants’ motion, the court discharged the receiver and vacated its April 6, 1967, order; then ordered the complaint transferred to the Central District. Plaintiffs once again moved to obtain an order to show cause regarding the appointment of a receiver and preliminary injunction and temporaiy restraining order. After several continuances, the hearing was held on July 25, 1967. The court denied plaintiffs’ application for the appointment of a receiver. On August 1, 1967, plaintiffs filed a motion for an order to show cause regarding contempt against defendants and the hearing was held on August 15, 1967. Four different witnesses testified and various exhibits were received in evidence. The court discharged the order to show cause re contempt. On November 5, 1975, pursuant to defendants’ motion, the court granted dismissal of the action as to defendants David and Elaine Sabih. On November 24, 1975, defendants moved the court for an order awarding them attorneys’ fees of $1,777 and costs of $140.35. The court granted defendants’ motion for costs in the sum of $140.35, but denied the motion for attorneys’ fees. This appeal followed.
The promissoiy note upon which the complaint was based provides: “If action be instituted on this note, I promise to pay such sum as the Court may fix as attorney’s fees.” Civil Code section 1717 1 transfers a unilateral contractual right to attorney’s fees into a reciprocal provision giving the right to recovery to a prevailing party.
*338 Defendants refer us to the court record that shows that there were at least six court appearances made on their behalf. One appearance required them to defend against an order to show cause re contempt. In other appearances, they were required to defend against the appointment of a receiver ex parte and had to defend against an order to show cause re an appointment of a receiver. Defendants state that obviously they were the prevailing party in the action and it was an abuse of discretion by the court to not award attorney’s fees in the amount of $1,777 to them. 2
Plaintiffs argue that defendants could not establish that they were the prevailing party in whose favor a final judgment is rendered within the meaning of section 1717, citing
Associated Convalescent Enterprises
v.
Carl Marks & Co., Inc., supra,
Other cases further define the commonly accepted meaning of a final judgment. In
Southern Pac. R. R. Co.
v.
Willett,
Defendants distinguish
Associated Convalescent Enterprises
on the ground that the dismissal in that case was a nonjudicial act performed by the clerk, whereas the dismissal in their case was ordered by the court, a distinction recognized in
Gray
v.
Kay,
The order denying attorney’s fees to defendants is affirmed.
Kaus, P. J., and Ashby, J., concurred.
A petition for a rehearing was denied October 19, 1976, and appellants’ petition for a hearing by the Supreme Court was denied November 24, 1976.
Notes
Civil Code section 1717 provides:
“In any action on a contract, where such contract specifically provides that attorney’s fees and costs, which arc incurred to enforce the provisions of such contract, shall be awarded to one of the parties, the prevailing party, whether he is the party specified in *338 the contract or not, shall be entitled to reasonable attorney’s fees in addition to costs and necessary disbursements.
“Attorney’s fees provided for by this section shall not be subject to waiver by the parties to any contract which is entered into after the effective date of this section. Any provision in any such contract which provides for a waiver of attorney’s fees is void.
“As used in this section ‘prevailing party’ means the party in whose favor final judgment is rendered.”
See also:
T. E. D. Bearing Co.
v.
Walter E. Heller & Co.,
defendants conceded, at oral argument before this court, that they would not have been entitled to attorney’s fees if requested on each or any of the six appearances, nor on the Code of Civil Procedure, section 583, subdivision (b) dismissal, had there been no intervening intermediate proceeding. They believe, however, that it is unfair to deny them attorney’s fees on a record replete with court appearances where they were the successful party. Although we are inclined to sympathize with defendants’ position, we are convinced the law is to the contrary. Any change rests with the Legislature.
Thc opinion proceeded to state that it would be considered as a final judgment but only for purposes of appeal.
Grar was not dealing with a section-583, subdivision (b) dismissal and is inapplicable here.
