
    HANNON LAW FIRM, LLC, f/k/a The Law Firm of Kevin S. Hannon, LLC, f/k/a The Law Firm of Kevin S. Hannon, Plaintiff-Appellant and Cross-Appellee, v. MELAT, PRESSMAN & HIGBIE, LLP, f/k/a Melat, Pressman, Ezell & Higbie LLP; and Howarth & Smith, Defendants-Appellees and Cross-Appellants.
    No. 009CA0788.
    Colorado Court of Appeals, Div. II.
    March 3, 2011.
    
      Burns, Figa & Will, P.C., Alexander R. Rothrock, David M. Pittinos, Greenwood Village, Colorado, for Plaintiff-Appellant and Cross-Appellee.
    Cross & Bennett, LLC, Joseph F. Bennett, Colorado Springs, Colorado, for Defendants, Appellees and Cross-Appellants.
   Opinion by

Judge CASEBOLT.

In this action between attorneys, we must address whether, when multiple separate law firms represent clients under a contingent fee agreement, a withdrawing attorney's claim in quantum meruit against former co-counsel accrues at the time of the withdrawal or at the time that recovery under the contingent fee agreement occurs. We conclude that the claim cannot begin to acerue until the withdrawing attorney knows or should know of the recovery. We therefore reverse the trial court's judgment on the pleadings against plaintiff, The Hannon Law Firm (Hannon), and in favor of defendants, Melat, Pressman & Higbie, LLP. (Melat) and Ho-warth & Smith (Howarth), and remand for further proceedings.

We must also decide whether a withdrawing attorney may assert a claim in quantum meruit against former co-counsel where the withdrawing attorney would be barred by C.R.GC.P. Ch. 28.3, Rule 5(d), from bringing such a claim against the clients. We conclude that Rule 5(d) applies only to claims in quantum meruit brought against a client. We therefore affirm the trial court's order denying Melat's and Howarth's motion to dismiss Hannon's claim.

I. Background

The following facts are taken from Han-non's complaint, which we must construe as true. See Platt v. Aspenwood Condominium Ass'n, 214 P.3d 1060, 1066 (Colo.App.2009).

Melat entered into a contingent fee agreement with certain clients who lived near a uranium mine and initiated tort claims in federal court against the mine owner. Eventually, other law firms, including Hannon, became co-counsel for the clients. With the apparent consent of the clients, those law firms engaged Howarth as lead trial counsel. The firms entered into a fee-sharing agreement, which provided that Howarth would receive forty percent of the total fees obtained in the litigation, and the other three firms would each receive twenty percent. The fee-sharing agreement was silent on the recovery of fees or other compensation if a law firm were to withdraw.

The relationship between Hannon and Ho-warth became strained to the point that Ho-warth "essentially took over the case to the exclusion of [Hannon]." Eventually, Hannon withdrew, with court approval, from representation in the case. At the time of its withdrawal, Hannon lawyers had worked 541.4 hours and Hannon paralegals had worked 1881.9 hours on the case. Hannon had also incurred over $160,000 in costs.

After multiple trials and appeals, the federal case settled, and the clients paid to Howarth and Melat the fees and costs called for under the contingent fee agreement. At that time, Melat paid Hannon for the costs Hannon had incurred before withdrawal, but refused to pay any compensation for the services that Hannon had rendered.

A little less than three years after being notified of the settlement, Hannon filed the complaint in this action, asserting a single claim for quantum meruit against Melat and Howarth for the reasonable value of the services it had provided before withdrawal. Melat and Howarth moved to dismiss the complaint for failure to state a claim upon which relief could be granted under C.R.C.P. 12(b)(5), contending that, because C.R.C.P. Ch. 28.3, Rule 5(d) would prevent Hannon's recovery of any fees from the client in quantum meruit, Hannon could not recover from Melat and Howarth. Concluding that Han-non had presented a viable theory of recovery, the trial court denied the motion.

Melat and Howarth then moved for judgment on the pleadings, asserting that the statute of limitations had run before Hannon commenced this action because the quantum meruit claim accrued, at the latest, when Hannon withdrew from representation of the clients. Hannon responded that the quantum meruit claim did not accrue until recovery occurred in the underlying case, and that it had commenced this action within the three-year period from that date. Conelud-ing that it needed to consider an exhibit attached to Hannon's complaint to determine the issue, the trial court treated the motion as one for summary judgment and determined that the claim accrued at the time Hannon provided the services and withdrew from representation. Accordingly, it granted the motion, and this appeal followed.

II Acerual of Quantum Meruit Claim

Hannon contends that the trial court erred in granting judgment on the pleadings because the quantum meruit claim could not accrue, for statute of limitations purposes, until at least the time Hannon learned or should have learned of the recovery under the contingent fee agreement. We agree.

A. Standard of Review

In considering a motion for judgment on the pleadings, the trial court must construe the allegations of the pleadings strictly against the movant, must consider the allegations of the opposing party's pleadings as true, and should not grant the motion unless the pleadings themselves show that the matter can be determined on the pleadings. Platt, 214 P.3d at 1066. Entry of judgment on the pleadings is proper only if the material facts are undisputed and the movant is entitled to judgment as a matter of law. Id. We review de novo an order entering judgment on the pleadings, id., employing the same standards as the trial court.

B. Law

The statute of limitations applicable to a quantum meruit claim is three years from the date the claim accrues. § 13-80-101(1)(a), C.R.S.2010; Rotenberg v. Richards, 899 P.2d 365, 368 (Colo.App.1995). A cause of action generally accrues "when a suit may be maintained thereon." Jones v. Cox, 828 P.2d 218, 224 (Colo.1992).

Quantum meruit "is a theory of contract recovery that invokes an implied contract when the parties either have no express contract or have abrogated it." Dudding v. Norton Frickey & Assocs., 11 P.3d 441, 444 (Colo.2000). Section 183-80-108(6), C.R.S.2010, provides that a cause of action for "breach of any express or implied contract" accrues "on the date the breach is discovered or should have been discovered by the exercise of reasonable diligence." A claim in quantum meruit therefore accrues when a person discovers, or through the exercise of reasonable diligence should discover, that all elements of the claim are present. See Estate of Draper v. Bank of Am., 288 Kan. 510, 205 P.3d 698, 715 (2009); see also Jones, 828 P.2d at 224.

To recover in quantum meruit, a plaintiff must demonstrate that (1) at the plaintiff's expense; (2) the defendant received a benefit; (8) under cireumstances that would make it unjust for the defendant to retain the benefit without paying for it. Dudding, 11 P.3d at 445. The statute of limitations therefore begins to run with respect to a quantum meruit claim when a plaintiff has conferred a benefit upon the defendant and the retention of the benefit becomes unjust. See Draper, 205 P.3d at 715 (citing Vila v. Inter-Am. Inv., Corp., 536 F.Supp.2d 41, 51 (D.D.C.2008), aff'd, 570 F.3d 274, 284-85 (D.C.Cir.2009)).

There are no Colorado cases determining when the benefit of an attorney's services rendered pursuant to a contingent fee agreement and a fee sharing agreement becomes unjust so as to mark an acerual of the claim. We accordingly look to analogous cases to assist us.

In determining whether retention of the benefit is unjust, the supreme court has identified various fact-specific tests that apply in particular situations. See Lewis v. Lewis, 189 P.3d 1134, 1143 (Colo.2008) (where gifts or contracts between close family members fail, retention of benefit becomes unjust where one undertakes an action that is a significant deviation from mutual purpose); DCB Constr. Co. v. Central City Dev. Co., 965 P.2d 115, 122 (Colo.1998) (where contractor confers benefit on landlord for work done on behalf of tenant, landlord must engage in some type of malfeasance in order for retention of benefit to become unjust). In the absence of a particularized test, we conclude we should analyze the intentions, expectations, and behavior of the parties to determine when retention of the benefit becomes unjust. Lewis, 189 P.3d at 1143 (citing Coblevision of Breckenridge, Inc. v. Tannhauser Condo. Ass'n, 649 P.2d 1093, 1098 (Colo.1982)); see also 26 Richard A. Lord, Willston on Contracts § 68:1, at 24 (4th ed.2003) (courts generally allow recovery in quantum meruit "when a party confers a benefit with a reasonable expectation of payment").

C. Application

We first address the trial court's conversion of the motion for judgment on the pleadings to a motion for summary judgment and then address the trial court's determination of the acerual date for Hannon's quantum meruit claim.

1. Judgment on the Pleadings or Summary Judgment

We note initially that the trial court converted the motion for judgment on the pleadings to a motion for summary judgment because it concluded that it needed to review the exhibit attached to Hannon's complaint, which it construed to be outside the pleadings. Such a conclusion was unnecessary, however, because a document that is referred to in or is attached to a complaint may be reviewed by the court on a motion for judgment on the pleadings without converting the motion to one for summary judgment. See Yadon v. Lowry, 126 P.3d 332, 335 (Colo.App.2005) (upon considering a C.R.C.P. 12(b)(5) motion, a court may consider a document referred to in, but not attached the complaint, without converting the motion to dismiss into a motion for summary judgment). However, because we review de novo and treat the motion as one for judgment on the pleadings, any error by the trial court is harmless here.

2. Time of Accrual

The trial court held, and the parties do not dispute, that the first two elements of the claim were present when Hannon ceased providing legal services and withdrew from the case. We agree that, based on the complaint, at Hannon's expense, Melat and Ho-warth received a benefit.

The trial court further determined that

while it is true that the benefit of [Han-non's] services may have continued beyond the date when it was originally given, the benefit of that work was certainly received by [Melat and Howarth] at the time the services were initially rendered. As such, the value of the ... services was owed at the time the last work was performed.

It accordingly concluded that Hannon's claim accrued, at the latest, on the last day Hannon provided services, which occurred almost nine years before it filed this action. We disagree with this conclusion, because it focuses on the time the benefit was conferred, and fails to analyze when the retention of the benefit became unjust.

We first turn to the accrual standard found in section 183-80-108(6), which states that a claim for breach of an implied contract acerues when the plaintiff discovers or should discover the breach. Read literally, this language does not provide any guidance because "breach" is not an element of a quantum meruit claim. Unlike a contract claim, a claim in quantum meruit requires no proof of any agreement or breach. Rather, quantum meruit is described as a "theory of contract recovery that invokes an implied contract," meaning that a court implies a contractual relationship where the elements of quantum meruit are present. See Dudding, 11 P.3d at 444.

The parties urge us to adopt one of two rules, termed the California rule and the New York rule, regarding the time of accrual governing an attorney's quantum meruit claim for legal services provided pursuant to a failed contingent fee agreement. The California rule holds that an attorney's claim accrues when the contingency occurs. See Fracasse v. Brent, 6 Cal.3d 784, 792, 100 Cal.Rptr. 385, 494 P.2d 9, 14 (1972). The New York rule holds that the claim accrues when the attorney withdraws. See Tillman v. Komar, 259 N.Y. 133, 181 N.E. 75, 76 (1932). But these rules were formulated to determine when an attorney's quantum me-ruit claim against a client accrues, not when an attorney's claim against another attorney acerues. The reasoning supporting the rules is therefore primarily centered on policy considerations unique to the attorney-client relationship.

For example, the Fracasse court reasoned that the New York rule can lead to "grossly unfair consequences" where the client would have to pay the attorney more than his claim might be worth. 6 Cal.3d at 787, 100 Cal.Rptr. 385, 494 P.2d at 11. It also reasoned that the New York rule could interfere with a client's ability to discharge the attorney at any time with or without cause, an important aspect of the attorney-client relationship. Id. at 789-90, 100 Cal.Rptr. 385, 494 P.2d at 12-13. These policy considerations do not apply to an attorney's claim in quantum me-ruit against another attorney that arises outside a failed fee sharing agreement.

We therefore decline to adopt the reasoning of either rule. Instead, we analyze when the retention of the legal services rendered by Hannon became unjust with reference to the intentions, expectations, and behavior of the parties to the failed fee sharing agreement. See Lewis, 189 P.3d at 1143; Cablevision, 649 P.2d at 1098.

Here, there is no question that Hannon, Melat, and Howarth intended and knew that they would receive compensation if, but only if, the contingency came to fruition. The parties were therefore aware of the possibility that they would receive no compensation at all for their legal services if there were no recovery in the underlying litigation. Given these intentions and expectations, an attorney's retention of the benefit of legal services provided by a withdrawing attorney cannot be unjust if no recovery ever occurs in the underlying litigation. The withdrawing attorney, at the time the benefit is conferred on the other attorneys, expects that he or she will not receive any compensation if the contingency does not occur. It therefore could not be unjust for the remaining attorneys to retain the benefit conferred without paying for it if the contingency never comes to fruition.

Moreover, this conclusion is consistent with the behavior of the parties. Melat and Howarth did not and do not contend that Hannon was not entitled to be paid for the costs it had expended before withdrawal. Indeed, they paid Hannon for the costs it had incurred after the settlement of the underlying claim, implying they recognized that retention of Hannon's incurred costs would be unjust after they had recouped those costs from the clients as a result of the realization of the contingency.

Melat and Howarth nevertheless point out that Hannon's complaint alleges that Ho-warth engaged in wrongful conduct that made it difficult for Hannon to continue its duties to the clients and that Hannon cited such conduct as its justification for withdrawing. Accordingly, they reason that the retention of the benefit became unjust at the time of Hannon's withdrawal. But this conclusion places too much emphasis on "wrongdoing" by the parties and too little emphasis on their intentions and expectations. See Lewis, 189 P.3d at 1142 (malfeasance not required in all civreumstances for enrichment to be unjust).

We recognize that whether an attorney withdraws for good cause may be an important consideration in determining, on the merits, whether the retention of the benefit of legal services is unjust. See Jenkins v. District Court, 676 P.2d 1201, 1204 (Colo.1984) (an attorney who withdraws for good cause or is terminated by a client without cause may recover from the client in quantum meruit); of Restatement (Third) of the Law Governing Lawyers § 40 emt. e (2000) (an attorney who withdraws without good cause forfeits the right to compensation for his services). But a determination of whether withdrawal is supported by good cause is not a proper inquiry in determining when a claim accrues. Instead, it relates to a merits determination.

Moreover, even if an attorney has good cause to withdraw, it would still not be unjust for, any remaining attorneys to retain the benefit of the withdrawing attorney's legal services where no recovery occurs in the underlying litigation. Therefore, whether the attorney had good cause to withdraw may affect the attorney's ultimate ability to recover on the merits, but it is not determinative in deciding when a claim acerues. The claim can only accrue, if it accrues at all, when recovery occurs in the underlying litigation.

Melat and Howarth also contend that the rule we announce improperly makes quantum meruit recovery dependent upon a failed contract which no longer governs the relationship between the parties. See Tillman, 181 N.E. at 75 (holding that a contingent fee agreement between an attorney and a client either "wholly stands or totally falls," and after cancellation, its terms no longer establish the sole standard for attorney compensation); see also Dudding, 11 P.3d at 444 (quantum meruit recovery "does not depend upon the existence of a contract"). It is true that a claim in quantum meruit "exist[s] independently of a contract" and therefore does not necessarily turn on the terms of a failed contract between the parties Dudding, 11 P.3d at 445. But the failed contract in this case is the fee sharing agreement, not the contingent fee agreement that remained in force and was fully performed. We therefore are not relying on the terms of the failed fee sharing agreement when determining the time for accrual of Hannon's claim in quantum meruit.

In addition, we have found no authority indicating that an existing contractual relationship between some parties cannot inform the expectations of other parties for purposes of assessing a claim in quantum meruit. To the contrary, in Cablevision, the court held that because the cable service provided to the defendants in that case was "customarily paid for," it was clear that the cable service provider expected compensation for the service and that the defendants knew of that expectation. Cablevision, 649 P.2d at 1098. The court therefore determined that other contracts with other subscribers informed the expectations of the parties involved in the relevant dealings. See id.

Similarly, in the present case, all the law firms knew that work provided in the underlying litigation was subject to a contingent fee agreement and they therefore expected compensation for their services only if recovery occurred.

Melat and Howarth point out that Hannon filed an attorney's lien in the underlying litigation, indicating that compensation was due at the time of withdrawal. However, it could be equally inferred that Hannon expected payment only when the underlying claim was favorably resolved. See § 12-5-119, C.R.S.2010 (attorney has lien on any choses in action or claims and demands in suit for any fees due or to become due from any client); Platt, 214 P.3d at 1066 (in considering a motion for judgment on the pleadings, court must construe the allegations of the pleadings strictly against the movant). Accordingly, the lien filing is not determinative.

Melat and Howarth alternatively urge us to hold that the claim accrues upon withdrawal because such a rule would require a withdrawing attorney to file suit promptly, thus decreasing the risk that evidence would be lost or destroyed or that witnesses would become unavailable. Hence, the argument proceeds, accrual upon withdrawal would better effectuate the purposes of the statute of limitations. See Lake Canal Reservoir Co. v. Beethe, 227 P.3d 882, 886 (Colo.2010) (statutes of limitation should be construed to "promote justice, discourage unnecessary delay and forestall prosecution of stale claims" (quoting Jones, 828 P.2d at 224)). But the rule Melat and Howarth urge us to adopt would make it difficult for a trial court to determine whether and how much should be awarded prior to recovery of the contingent fee. See Law Offices of J.E. Losavio, Jr. v. Law Firm of Michael McDivitt, P.C., 865 P.2d 934, 936 (Colo.App.1993) (delineating the factors that a court should use in determining a quantum meruit award as between attorneys, including amount involved, the result obtained, and whether the fee is fixed or contingent). In some cases, a withdrawing attorney might receive more in quantum me-ruit compensation than the remaining attorneys collect upon completing work in the case. In other cases, a withdrawing attorney might receive little, if anything, because of difficulty in proving the value of the services provided. While it is true that a party could request a stay of the proceedings until resolution of the underlying litigation if accrual were to occur upon withdrawal, we fail to see how this rule better effectuates the purposes of the statute of limitations, given that under either rule, the claim would likely not be resolvable before the disposition of the underlying litigation.

We therefore conclude that a withdrawing attorney's claim in quantum me-ruit against former co-counsel laboring under a contingent fee agreement cannot accrue earlier than the time when recovery occurs in the underlying litigation, because that is the earliest time when the unjustness of any retention of the benefit can be determined. Accordingly, Hannon's claim accrued when it knew or should have known of the recovery.

Based on the allegations of Hannon's complaint, that knowledge was gained on September 29, 2004, when Melat informed it of the settlement. Accordingly, this action, commenced on September 26, 2007, was filed within the three-year statute of limitations applicable to quantum meruit claims and, thus, it is not barred by the statute of limitations. Hence, the trial court erred in entering judgment on the pleadings in favor of Melat and Howarth.

III. Recovery Precluded by Contingent Fee Rules?

Melat and Howarth urge us to employ an alternate ground to uphold the judgment by determining that the trial court erred in denying their motion to dismiss Hannon's complaint for failure to state a claim under C.R.C.P. 12(b)(5). Specifically, Melat and Howarth contend that Hannon's claim against them cannot succeed because a similar claim against the client in this case would be barred by C.R.C.P. Chapter 28.3, Rule 5(d). We disagree.

A. Standard of Review

The purpose of a motion under C.R.C.P. 12(b)(5) is to test the legal sufficiency of the complaint to determine whether the plaintiff has asserted a claim or claims upon which relief can be granted. Hemmann Mgt. Servs. v. Mediacell, Inc., 176 P.3d 856, 858-59 (Colo.App.2007). In evaluating a motion to dismiss under C.R.C.P. 12(b)(5), the court must accept as true all averments of material fact and must view the allegations of the complaint in the light most favorable to the plaintiff. Id. Courts view CRCP. 12(b)(5) motions to dismiss with disfavor; such motions should not be granted "unless it appears beyond doubt that the plaintiff can prove no set of facts in support of his claim which would entitle him to relief." Dunlap v. Colo. Springs Cablevision, Inc., 829 P.2d 1286, 1291 (Colo.1992) (quoting Davidson v. Dill, 180 Colo. 123, 131-32, 503 P.2d 157, 162 (1972).

"In most cases it is sufficient if the pleader clearly identifies the transactions which form the basis of the claim for relief, and if upon any theory of the law relief is warranted by the evidence offered and received in support of the claim.. .." Hinsey v. Jones, 159 Colo. 326, 329, 411 P.2d 242, 244 (1966) (quoting Weick v. Rickenbaugh Cadillac Co., 134 Colo. 283, 289, 303 P.2d 685, 688 (1956)).

Because it presents a question of law, we review de novo an order granting or denying a motion to dismiss under C.R.C.P. 12(b)(5). See Dotson v. Bernstein, 207 P.3d 911, 912 (Colo.App.2009).

B. Law

Generally, an attorney may recover under a quantum meruit theory for the reasonable value of legal services provided, as long as the elements of the claim are proved. Mullens v. Hansel-Henderson, 65 P.3d 992, 995 (Colo.2002). However, C.R.C.P. Chapter 23.3, which sets forth rules governing contingent fee arrangements, limits such recovery in certain situations. Elliott v. Joyce, 889 P.2d 43, 46 (Colo.1994). An attorney who withdraws during representation on a contingent fee basis may recover in quantum meruit from a client only if the agreement explicitly states that such a recovery is possible. Id. (analyzing C.R.C.P. Ch. 23.8, Rule 5(d)). This notice requirement assures that the client knows upon entering into the agreement whether he or she will be liable for attorney fees at any time other than the occurrence of the contingency. Mullens, 65 P.3d at 998.

However, a claim in quantum meruit that does not require a client to pay an attorney at a time other than occurrence of the contin-geney is not barred by Chapter 28.3. See Mullens, 65 P.3d at 999 (holding an attorney's claim in quantum meruit not barred by Chapter 28.3 where he had completed the contemplated legal services because client had notice that she must pay upon occurrence of the contingency).

C. Analysis

Here, assuming that the contingent fee agreement referenced in Hannon's complaint does not sufficiently notify the client of the possibility of a recovery in quantum meruit, Hannon would be barred from such recovery against the clients by Chapter 28.3, Rule 5(d). Elliott, 889 P.2d at 46. But even if that is true, we do not perceive that the rule would bar Hannon's claim in quantum meruit against former co-counsel. The basic rule is that an attorney is entitled to compensation in quantum meruit assuming that the attorney can prove the elements of the claim See Losavio, 865 P.2d at 936 (attorney may recover in quantum meruit against another attorney when services are rendered to a common client under a contingency agreement).

In this case, Hannon's claim against Melat and Howarth does not request or require the client to pay any money other than what was contemplated in the contingent fee agreement. We therefore conclude that no requirement to give notice to the client under Chapter 23.8 is relevant to this situation and Hannon's claim is not barred.

Melat and Howarth assert that the rule we adopt allows for the disparate result that an attorney working alone for a client cannot recover in quantum meruit where the contingent fee agreement is silent on the possibility of such recovery, but that an attorney working with other attorneys can recover. They contend that this result is illogical and therefore not what Chapter 28.3 intends. But this contention misperceives the intention of the rules in Chapter 28.8, which is protecting clients, not preventing attorneys from receiving compensation.

Here, Hannon's claim requires the client to pay nothing aside from the contingent fee contemplated in the agreement. The disparate results for attorneys in the two situations discussed above are logically related to the goal of protecting clients and are a necessary consequence of the intended rule.

We therefore conclude that the trial court did not err by denying the motion to dismiss.

The judgment on the pleadings is reversed, the order denying the motion to dismiss is affirmed, and the case is remanded for further proceedings consistent with this opinion.

Judge FURMAN concurs.

Judge TERRY dissents.

Judge TERRY

dissenting.

I respectfully dissent.

This appeal addresses the acerual date of a quantum meruit claim asserted by one law firm (Hannon) against two others (Melat and Howarth) for services provided on a contingent fee case for their common clients. I conclude that the claim acerued, at the latest, when Hannon was permitted to withdraw from representing the parties' common clients. Therefore, in my view, the quantum meruit claim here was barred by the statute of limitations.

Accordingly, I would affirm the trial court's judgment on the pleadings in favor of Melat and Howarth, and against Hannon. Consequently, I would not address Melat and Howarth's cross-appeal.

I. Additional Background

In addition to the facts described in the majority opinion, the following facts were also alleged in Hannon's complaint:

In 1998, before the federal litigation for the law firms' common clients went to trial, Hannon withdrew as counsel due to disagreements about Howarth's handling of the case. Shortly after its withdrawal, Hannon filed a notice of attorney's lien, asserting that it was entitled to $160,281.35 in costs as well as quantum meruit compensation for the services rendered by its attorneys and paralegals.

II. Discussion

A. Basic Quantum Meruit Principles

"Quantum meruit is a theory of contract recovery that invokes an implied contract when the parties either have no express contract or have abrogated it." Dudding v. Norton Frickey & Assocs., 11 P.3d 441, 444 (Colo.2000). In Colorado, quantum meruit is synonymous with the doctrines of quasi-contract and unjust enrichment. Id. at 444-45; see also Mullens v. Hansel-Henderson, 65 P.3d 992, 999 (Colo.2002). These doctrines are all based on principles of equity and restitution, and have been adopted with the goal of preventing one party from being ben-efitted to the unfair detriment of another. See Dudding, 11 P.3d at 444; Mullens, 65 P.3d at 999; DCB Constr. Co. v. Central City Dev. Co., 965 P.2d 115, 119 (Colo.1998). A claim in quantum meruit accomplishes this goal by "gauging the equities and ensuring that the party receiving the benefit of the bargain pays a reasonable sum for that benefit." Dudding, 11 P.3d at 445.

B. Acerual of Quantum Meruit Claims

I agree with the majority's conclusions that Hannon's quantum meruit claim is subject to the three-year statute of limitations set forth in section 13-80-101(1)(a), C.R.S. 2010, and that section 18-80-108(6), C.R.S. 2010, governs the acerual of the quantum meruit claim here. The latter statute provides that a cause of action for breach of any express or implied contract accrues when "the breach is discovered or should have been discovered by the exercise of reasonable diligence."

I further agree that Hannon's claim for quantum meruit accrued when it discovered, or through the exercise of reasonable diligence should have discovered, that all the elements of a quantum meruit claim were present. However, I disagree with the majority's analysis as to when those elements were present here.

1. California versus New York Rules

The parties' accrual arguments are focused primarily on cases that deal with quantum meruit claims brought by attorneys against their former clients. I agree with the majority that, because this is not a claim by an attorney against a client, but rather a claim of attorney against attorney, many of the cases cited by the parties are not on point. However, in my view, those cases provide certain guidance by analogy.

The attorney-client cases line up on either side of a significant fault line. On one side are cases cited by Hannon, following the so-called California rule In those cases, a wrongfully discharged or justifiably withdrawing attorney, originally employed on a contingent fee basis, is held to have no quantum meruit cause of action against the client until the happening of the contingency stated in the parties' fee agreement. See, e.g., Fracasse v. Brent, 6 Cal.3d 784, 100 Cal.Rptr. 385, 494 P.2d 9, 11 (1972). On the other side are cases that follow the so-called New York rule, holding that such an attorney need not wait for the outcome of the contingent litigation, but may sue and recover immediately in quantum meruit. See, e.g., Tillman v. Komar, 259 N.Y. 133, 181 N.E. 75, 76 (1932).

The policy considerations for requiring an attorney to await the outcome of litigation derive from a perceived lack of resources on the part of contingent-fee clients and a disparity in legal ability and power between the client and the attorney. See, e.g., Fracasse, 100 Cal.Rptr. 385, 494 P.2d at 14; see also Dudding, 11 P.3d at 445 (contrasting quantum meruit law in the attorney-client context with cases not involving that relationship; noting that there are "special considerations inherent in the attorney-client contractual relationship," given the relationship of trust and confidence between such parties, a circumstance that "distinguishes the attorney client relationship from other business relationships," and thus "creates a somewhat different framework for the analysis of quantum meruit claims in the context of attorney-client relationships"). Those policy considerations are inapplicable to attorney-against-attorney cases such as this one. Cf. Law Offices of J.E. Losavio, Jr. v. Law Firm of Michael W. McDivitt, P. C., 865 P.2d 934 (Colo.App.1993) (attorney-against-attorney quantum meruit claim); Murdock v. Cohen, 762 P.2d 691 (Colo.App.1988) (same); Polen v. Melonakos, 222 Mich.App. 20, 564 N.W.2d 467, 470 (1997) (same).

Nevertheless, two principles from the attorney-against-client cases are helpful by analogy here, and in this context, I am more persuaded by the reasoning of cases following the New York rule. In the attorney against-attorney context presented here, these principles are consistent with Colorado law.

e Principle No. 1: When the attorney, client relationship is abrogated, either by wrongful termination of the attorney or by the attorney's justified withdrawal, the terms of the contingent fee agreement no longer control the parties' relationship when the attorney sues in quantum meruit. That agreement does not dictate whether or when counsel may sue, or the amount of damages that may be recovered. Tillman, 181 N.E. at 75-76 ("[The attorney-client contingent feel agreement cannot be partially abrogated. Either it wholly stands or totally falls. After cancellation, its terms no longer serve to establish the sole standard for the attorney's compensation. Together with other elements they may, however, be taken into consideration as a guide for ascertaining quantum meru-it." (referencing "quantum meruit" in the sense of "the amount to be awarded")); see also Ambrose v. Detroit Edison Co., [65 Mich.App. 484], 237 N.W.2d 520, 524 (Mich.Ct.App.1975) ("[Aln attorney on a contingent fee arrangement who is wrongfully discharged, or who rightfully withdraws, is entitled to compensation for the reasonable value of his services based upon [qJjuantum meruit, and not the contingent fee contract.").

This first principle is consistent with Colorado quantum meruit law, which derives from, and is, at least for this purpose, functionally identical to, unjust enrichment law. See Dudding, 11 P.3d at 444-45 ("[Quantum meruit] does not depend upon the existence of a contract, either express or implied in fact. Rather, [quantum meruit] arises out of the need to avoid unjust enrichment to a party even in the absence of an actual agreement to pay for the services rendered.... Under some cireumstances, a party to an unenforceable express contract may recover under quantum meruit.... [IJn general, a quantum meruit claim may exist independently of a contract and need not turn on whether the contract between the parties met specified requirements.").

e Principle No. 2; The attorney's claim against the client accrues immediately upon wrongful termination or justified withdrawal. See In re Estate of Callahan, [144 Ill.2d 32, 161 Ill.Dec. 339], 578 N.E.2d 985, 988 (Ill.1991) ("[Thhe client cannot make the attorney's recovery dependent upon a contract term when the client has [wrongfully] terminated the contract. The contract no longer governs their relationship.... [Aln attorney's cause of action for a quantum merwit fee accrues immediately after discharge.").

At least in the context of attorney-against-attorney quantum meruit claims, this principle is congruent with Colorado law. See § 13-80-108(6) (cause of action for breach of express or implied contract accrues when breach is discovered or should have been discovered by exercise of reasonable diligence).

A quantum meruit claim accrues when all the elements of quantum meruit are present, namely, (1) at the plaintiff's expense, (2) the defendant received a benefit, (8) under circumstances that would make it unjust for the defendant to retain the benefit without paying. See Dudding, 11 P.3d at 445 (defining elements of quantum meruit).

In determining the date of accrual at the motion on the pleadings stage, we are constrained by the allegations of Hannon's complaint, which alleges cirenmstances that Han-non claims entitle it to quantum meruit relief. Hannon essentially alleges that it was justified in withdrawing from the case in April 1998 based on good cause, because Howarth "took over the case to the exclusion of" Han-non; that Howarth "was not willing to involve [Hannon] in trial preparation"; and that when it did involve Hannon, Howarth "imposed unreasonable demands." Hannon alleged that the other law firms received the benefit of Hannon's valuable legal services, and that it would be unjust for the other firms to retain the benefit of those services without paying for them.

In my view, based on the allegations of Hannon's complaint, all of the elements of quantum meruit were present by April 28, 1998, when the district court allowed Hannon to withdraw from representing the parties' common clients By that date, the other firms had received the benefit of Hannon's services. To those who might question what benefit they received, given that the federal court case had not yet gone to trial and no recovery had yet been obtained, the response is provided by Hannon's complaint: Han-non's services had value to the other law firms. Presumably, that value came from the other law firms not having either to perform the services that Hannon performed, or to pay another to perform those services. See Dove Valley Bus. Park Assocs., Ltd. v. Bd. of County Comm'rs, 945 P.2d 395, 403 (Colo.1997) (benefit forming basis for quantum meruit claim includes any form of advantage, including saving adverse party expense or loss). Whether Hannon, in fact, conferred a benefit on the other firms is not in issue at the motion on the pleadings stage.

The majority looks to the attorneys' intentions and expectations regarding whether and when they would be paid as the linchpin for determining when, if at all, the law firms' retention of the benefit of Hannon's work became unjust. I respectfully disagree with this approach, for two reasons. First, this approach overlooks facts alleged in Hannon's complaint that could establish unjust retention of Hannon's services even if the litigation for the firms' common clients were not resolved in the clients' favor. Second, it improperly focuses on a contract that is not the basis of the quantum meruit claim.

As to the first point, Hannon's complaint alleges that it had performed its services and was justified in withdrawing in 1998. If Hannon was justified in withdrawing then, it necessarily follows that it was then unjust for the other firms to retain the benefit Hannon had conferred on them. Thus, as alleged, the other firms' enrichment was unjust no later than the 1998 withdrawal date, and the claim acerued no later than that date. This conclusion is bolstered by Hannon's filing of its July 23, 1998, notice of attorney's lien, which asserted that it was entitled to reasonable compensation, based on quantum meru-it, for the time expended by Hannon's attorneys and paralegals, as well as to $161,231.35 for costs it expended. The filing of this lien is alleged specifically in Hannon's complaint.

As to the second point, the very nature of a quantum meruit claim precludes reliance on the terms of a contract. Under Dudding, 11 P.3d at 444, quantum meruit does not depend on any contract. See also Jorgensen v. Colo. Rural Props., LLC, 226 P.3d 1255, 1259 (Colo.App.2010) (quantum meruit, quasi-contract, and contracts implied in law are equivalent terms, and relate to a purely equitable remedy, given that the obligation "does not arise in any sense from promises made between the parties or any contract"; a contract implied in law is "not really a contract at all" (quoting DCB Constr. Co., 965 P.2d at 119); the remedy arises not from the intent of the parties but from the law of natural justice and equity; indeed, a quasi-contractual claim "may not be asserted if there is a valid contract covering the subject matter of the alleged obligation to pay"). Therefore, I believe it makes no sense to look to the terms of a contract that is not the basis for suit to see whether a contingency in that contract has come to pass, in order to determine whether Hannon's quantum meruit claim has accrued. The attorneys' expectations of payment as expressed in their contract (which is unenforceable by Hannon) are simply irrelevant to acerual of Hannon's quantum meruit claim.

Under Colorado law, whether and when Hannon conferred a benefit on the parties' common clients is irrelevant to whether and when it conferred a benefit on the other law firms. See Murdock, 762 P.2d at 692 (in attorney-against-attorney quantum meruit suit, fact that client was primary beneficiary of attorney's services did not preclude claim that attorney conferred benefit on other attorney). Thus, in my view, for purposes of establishing a quantum meruit claim against another law firm representing the same client, whether the client has received a recovery in the client's contingent fee case is a matter that is out of the former attorney's hands and is simply not relevant. See Zimmerman v. Kallimopoulou, 56 Misc.2d 828, 290 N.Y.S.2d 270, 273 (N.Y.City Civ.Ct.1967) (an "[alttorney's right to compensation cannot be made to depend upon the success or failure of another member of the bar"), cited with approval in Adkin Plumbing & Heating Supply Co. v. Harwell, 135 N.H. 465, 606 A.2d 802, 804 (1992).

Hannon cites the only case I have found that holds to the contrary in an attorney-against-attorney context, Chambers v. Kay, 106 Cal.Rptr.2d 702, 720 (2001), superseded and aff'd on other grounds, 29 Cal.4th 142, 126 Cal.Rptr.2d 536, 56 P.3d 645 (2002). Although the California Court of Appeal there held that a discharged attorney's quantum meruit claim did not accrue against former' co-counsel until the client recovered on a contingent fee claim, I am not persuaded by its reasoning for three reasons. First, the Court of Appeal's holding that the attorney conferred no benefit on remaining counsel until the contingent fee case had successfully concluded conflicts with Colorado law. See Murdock, 762 P.2d at 692 (whether attorney conferred a benefit on another attorney is not dependent on whether their mutual client received a benefit); Dove Valley, 945 P.2d at 403 (benefit for quantum meruit purposes is any form of advantage). Second, the Court of Appeal's decision has been superseded, and under California law, may not be cited as precedent. See Cal. Rules of Court 8.1105(e)(1), 8.1115(a), see also People v. Rogers, 21 Cal.3d 542, 146 Cal.Rptr. 732, 579 P.2d 1048, 1051 (1978) (granting of review by California Supreme Court automatically vacates the opinion of California Court of Appeal). And third, the California Supreme Court expressly declined to review the correctness of the Court of Appeal's ruling on that issue, because the appellant had not petitioned for review of that ruling, see 126 Cal.Rptr.2d 536, 56 P.3d at 658 n. 11.

Finally, I believe the majority treads into unnecessary territory when it states that "an attorney's retention of the benefit of legal services provided by a withdrawing attorney cannot be unjust if no recovery ever occurs in the underlying litigation." In my view, it is not necessary to establish such a rule to decide this appeal. Moreover, I am not convinced that such a rule is appropriate, as it would preclude a quantum meruit recovery even in a case where the remaining attorneys purposely or negligently scuttle the client's case, or otherwise arrange a resolution of the client's suit in a way that could improperly preclude any recovery by an attorney who was wrongfully discharged or who rightfully withdrew.

2. Other Considerations

Hannon urges us to consider a problem that trial courts may face in determining the reasonableness of fees before the underlying contingent fee litigation has resolved. It posits that allowing a quantum meruit claim to go forward before the conclusion of the underlying contingent fee litigation could result in either too great or too small an award of fees to the claiming attorney. In my view, that issue may be resolved by allowing the claiming attorney to file a quantum meruit claim and then ask that the trial court stay the proceedings until the underlying litigation has concluded. Invoking that same procedure would also mitigate any adverse impact on the client of having such quantum meruit litigation ongoing among counsel while the client's case is still pending.

Hannon also argues that affirming the trial court's holding would enable an attorney to withdraw from a contingent fee case before the case concludes and receive compensation for services through a quantum meruit claim where, had the attorney not withdrawn, he or she would not have received any compensation if the client ultimately lost. Hannon contends this creates an incentive for an attorney to withdraw from a contingent fee suit if it appears the suit may not succeed. While Hannon's argument could be raised as a defense to a quantum meruit claim, in the nature of unclean hands, I do not believe this is a valid consideration in determining application of the accrual date under section 13-80-108(6).

III,. Conclusion

As I interpret Colorado accrual law, the allegations of the complaint show that the claim acerued no later than the date of Han-non's withdrawal from the federal court litigation, namely April 28, 1998. Because suit was filed more than three years after the claim acerued, I would rule that the trial court correctly dismissed the complaint as time barred.  