This action was brought by an attorney at law to recover a sum of money alleged to be due him by the defendant. Judgment passed for the plaintiff as prayed for, from which, and an order denying a new trial, the defendant appeals.
The points made for the reversal of the judgment and order are: —
1. That the facts set up in the complaint show that the action was not brought to recover compensation for services rendered as an attorney, but that the cause of action is founded upon a breach of contract by the defendant, and arose when the relation of attorney and client was terminated, and was therefore barred by the statute of limitations.
2. That the contract as alleged is of a kind where the presumption arises that it has been entered into without consideration, and under undue influence, and this presumption has not been overcome by the plaintiff.
3. That the contract alleged was entered into by the defendant while laboring under a mistake of fact, and that the defendant had a right under the law to rescind it.
4. That the complaint is insufficient in that it does *221not contain an allegation of damages, and therefore is not sufficient to support the judgment.
The case as presented by the record is one where an attorney at law, who was the general attorney of the corporation, at a salary which might be changed at the option of the corporation, and whose period of employment as such was subject to the same condition, was voluntarily and without any effort, fraud, or undue influence on his part, employed specially by the corporation, through its proper officers, to perform certain special work, which he was ready and willing to perform, and did partially perform, but which the defendant prevented him from fully accomplishing through no fault of his.
The compensation of the attorney was to depend for its time of payment upon the time when the corporation should obtain by judgment or compromise the payment of a claim it had against William Sharon. Its amount was to be controlled by the amount received from said Sharon.
A certain sum of money was received from that source by the corporation, but before that time it had discharged the plaintiff from being its attorney, and on his demanding the amount of money which he claimed under the contract that he was entitled to have, payment was refused, and before the time of the running of the statute of limitations from the date of the reception of the money by the corporation, this suit was instituted.
The corporation had the power to change the amount of the attorney’s salary in its general employment at any time, so it could as to the term of his employment.
In this existing state of relationship of the parties, it does not seem at all wrong that in a special case the attorney should enter into contract with his principal for a special fee. And if, as in this case, the employment is voluntarily tendered to him by those competent to contract with him, with a full knowledge of their right, and *222of the circumstances under which they are .acting, we do not perceive anything improper in it.
Mr. Bartlett, the plaintiff, did not .seek the employment; it was tendered to him. He did not misstate any facts, or mislead the defendant. The .contract was entered into with a true appreciation of the situation .surrounding the transaction, and was in no sense unfair.
To us it seems as if the plaintiff was discharged without cause, and did not forfeit any of his rights.
The suit has been instituted to r.ecover the amount of money to which the plaintiff would have been entitled had the defendant allowed him to complete the services which he had commenced to perforoa. If the defendant, by its wrongful conduct, prevents the performance of acts which entitle a party to a specific recompense, it would seem that such amount, and interest from the time it became due, may be recovered in an action which sets forth such a state of facts.
The plaintiff could not sue for damages resulting from his discharge at the time of such discharge, because he could recover no money under his contract until the defendant should be paid some by William Sharon. The moment that money came to the hands of the defendant, and not until then,' was the plaintiff entitled to his proportionate share of it. His cause of action could not accrue until the condition had happened,—that is, the money had been paid by Williajn Sharon to the defendant,—by means of which alone the plaintiff would be entitled to anything.
Had the plaintiff brought his .action for damages for the non-compliance of the defendant with its contract ■in discharging him without allowing him fully to perform the services he had undertaken, the defense would have been that no damages could be recovered, because no money had been received from William Sharon; that the condition on which the plaintiff was alone to be paid had not happened, and the amount of his com*223pensation could not be determined, as it also was contingent on and a proportionate part of the amount which Mr. Sharon might pay.
There can be no doubt that the plaintiff’s cause of action accrued when the defendant received the money and refused to pay him his share of it. The statute of limitations did not, therefore, bar the action. The detriment caused by the breach of the defendant’s obligation to pay the plaintiff the amount of money which it had agreed to pay is the amount due by the terms of the obligation, with interest thereon. (Civ. Code, sec. 3302.)
The allegations of the complaint are, that the defendant is under an obligation to pay the plaintiff a certain sum of money and interest, and that it has refused to comply with such obligation, and that therefore a certain sum of money and interest is due, for which judgment is prayed.
When the plaintiff, as here, alleges facts to exist, which, if proved, would entitle him to recover the sum of money he demands from the defendant, he has shown, so far as the recitals of the complaint can, that he has sustained damages.
When he proves the facts, he should recover a judgment for the sum of money he has thus shown himself to be entitled to. If he states the facts in his complaint which in law constitute his damages and their measure, he has shown enough in the pleading to warrant a recovery of what he claims, if his proof corresponds to his allegations.
We perceive no prejudicial error in the record, and advise that the judgment and order be affirmed.
Belcher, 0. 0., and Vanclief, 0., concurred.
The Court.For the reasons given in the foregoing opinion, the judgment and order are affirmed.