Plaintiff appeals from a judgment denying him any relief and from an order denying his motion *144 for a new trial in an action brought by him to obtain a decree that a contract of lease has been rescinded.
Defendant is the owner of an unimproved lot of land in San Francisco, with a frontage of ninety feet on the northerly line of Geary Street between Larkin and Hyde streets. On July 7, 1906, a contract of lease was executed by the parties, whereby defendant let to plaintiff and plaintiff hired from defendant said lot for a term of three years commencing August 7, 1906, for the sum of nine thousand dollars, payable in monthly installments of two hundred and fifty dollars, and the privilege was thereby given to plaintiff to extend the lease for a further term of two years at a monthly rental of three hundred dollars. It was recited therein that as the lessee contemplated erecting buildings on the premises he would hold the owner free of any claim of lien on account thereof, that all buildings or other improvements placed thereon by plaintiff should be plaintiff’s property at the termination of the lease, that he would pay all taxes thereon and that he should have ten days free of rent at the termination of the lease in which to remove them. Up to the fifth day of July, 1906, the ordinances of the city and county of San Francisco were such that a permit could be obtained for the construction of a wooden building on this property, but on July 5, 1906, an ordinance was enacted that rendered it unlawful to erect or construct wooden buildings within certain limits prescribed therein, which included this lot. Neither plaintiff nor defendant knew of this change in the laws of the city and county at the time of the execution of the lease, each supposing that he knew and understood the law relative to such matters and each apprehending the law to be that the erection of a temporary wooden building on said lot would be lawful. Plaintiff and defendant never met personally until long after the execution of the lease, all negotiations between them having been conducted through a firm of real estate brokers who acted purely as middlemen and who were not the agents or representatives of the defendant. The finding on this question of agency is fully sustained by the evidence. About two weeks after the execution of the lease, plaintiff, having already paid two hundred and fifty dollars rent, applied to the board of public works of the city and county for a permit to erect a wooden building on said property, and he then discovered
*145 that the law relative to fire limits had been changed and that no permit could be obtained. There was no attempt to question the positive evidence introduced by plaintiff to the effect that without the right to erect a wooden building upon this lot, the lease for three years only with the privilege of two years more at the prescribed rental was absolutely without value to a tenant, and that plaintiff never would have entered into the contract had he supposed that he could not erect such a building thereon. It was impossible to use the lot to advantage without a building, and the cost of such a building as could be constructed in view of the building ordinances applicable would be so great as to render the lease in question valueless. The evidence compels the conclusion that it was within the contemplation of both parties that the lessee could use the lot to advantage only by constructing a wooden building thereon and that he was taking it for such use. Upon learning that a wooden building could not be constructed plaintiff so informed the real estate agents, said the lot was of no value to him unless he was given a longer term and protested against paying the rent for the second month. He subsequently paid rent for two additional months to Mr. Israel of the Union Trust Company for defendant, protesting at each payment against the same. He was informed by Mr. Israel that defendant was East but would shortly return and he allowed the matter to remain in abeyance until defendant’s return. The evidence indicated that defendant was advised of plaintiff’s dissatisfaction with the lease and that he (plaintiff) was disposed not to go on with it. Immediately upon his return (January 26, 1907) negotiations were commenced between the parties looking to a longer term, but they came to nothing. In his written proposition of February 24, 1907, regarding the terms of a new lease for twenty years, plaintiff asked defendant, if not satisfied with the proposition, to consider releasing him, saying that he had already paid dearly for his experience. As soon as it had developed that no satisfactory arrangement could be made plaintiff consulted an attorney, and was informed that he had a right to rescind the contract of lease. This was on March 1, 1907. He had full knowledge of the facts which entitled him to rescind two weeks after the agreement was entered into, but did not know that an agreement could be rescinded on account of such a mistake until *146 so advised by Ms attorney. On March 5, 1907, he served a notice of rescission on defendant, specifying mistake and failure of consideration as the grounds, offering therein to restore possession of the land, authorizing defendant to enter upon and hold the same, offering to execute such release of the lease as defendant might desire and to do all acts necessary in order to fully restore to defendant any and all things of value received by him as fully and completely as if said lease had not been made, “on condition that you restore to me all moneys and things of value received as consideration for said lease.” Defendant refused to agree to a rescission and this action was at once commenced.
The trial court found as facts “that the use of said real property described in said lease by the erection of a building or buildings which could be removed, was not the only valuable consideration for the obligation of plaintiff under said contract,” and that plaintiff “did not use due diligence in rescinding said agreement.” Both of these findings are attacked as not being sustained by the evidence. In its purported conclusions of law was one that plaintiff "did not rescind said contract promptly upon discovering the facts which entitled him to rescind the same and when he was aware of his right to rescind,” and this, treated by plaintiff as a finding of fact, is also attacked as being unsupported by the evidence.
A party to a contract may rescind the same if his consent thereto was given by mistake either of law or fact. (Civ. Code, sec. 1689, subd. 1.) We deem it unimportant whether the alleged mistake in this case be held to be a mistake of fact or one of law. The mistake was the belief of both parties that the lot was not within the limits fixed by .ordinance wherein it was unlawful under the ordinances of the city and county of San Francisco to construct a wooden building—ignorance of the fact that an ordinance had just been adopted placing-such lot within such limits. Unconscious ignorance of a fact material to the contract or belief in the present existence of a thing material to the contract constitutes a mistake of fact (Civ. Code, sec. 1577), and a misapprehension of the law by all parties, all supposing that they know and understand it, and all making substantially the same mistake as to the law, constitutes a mistake of law. (Civ. Code, see. 1578.) Upon
*147
the facts of this case there was a mutual mistake either of fact or of law. Was it such a mistake as warrants rescission? Consent is deemed to have been obtained through mistake “only when it would not have been given had such cause not existed.” (Civ. Code, sec. 1568.) It cannot be doubted that plaintiff would not have consented to the lease but for this mistake. The principal question in this connection is whether it was “material to the contract” within the meaning of those words as used in our statute. That it was material in the sense that but for it plaintiff would not have considered for a moment the making of the contract we have seen, but that clearly is not enough. The same thing might be said as to mistaken expectations of both plaintiff and defendant as to plaintiff’s ability to obtain tenants for the building he proposed to erect on the leased land, and, of course, a mistake in that regard would not furnish ground for rescission, although plaintiff never would have entered into the contract but for such mistaken belief. It is declared by Mr. Page in his work on Contracts that a mistake will not be operative to render a contract void, although in some cases it may render it voidable if it merely affects some “collateral” though highly material matter, constituting merely a matter of inducement, bu
t
that it must affect the execution and the essential elements of the contract (secs. 58 and 60), which elements are stated to be the parties, the subject-matter, the consideration, and the offer and acceptance. We may assume for the purposes of this decision that our legislature had some such idea as this in the use of the word “material” in this connection, but so assuming, we are, nevertheless, of the opinion that the mistake here was not as to a purely collateral matter, but rather went to the essence of the contract. The authorities recognize the difficulty in determining whether a mistake applies to an essential feature of the contract or to a purely collateral matter. (1 Page on Contracts, sec. 71.) It is thoroughly established that if the parties to a contract enter into it under the belief that the subject-matter or consideration is in existence, and in effect condition their contract thereon, and, as a matter of fact, it is not in existence, the mistake will enable a party to avoid the contract. We are, of course, not speaking of cases where the parties are aware that the existence of the subject-matter-is doubtful and contract with reference thereto.
*148
Thus an ordinary contract of sale of property supposed to be in existence, but which in fact no longer exists, may be avoided. In such a case it is plain that the mistake is material and goes to the very essence of the contract. The assumed fact of existence is the whole basis of the contract. The same rule must necessarily apply where a material part of the subject-matter as to which the parties supposed they were contracting is not in existence at the time the contract is entered into.- An example of this is the case cited by Mr. Page in section 72 of his work,
Bedell
v.
Wilder,
Section 1577 of the Civil Code defining “mistake” declares that it is a mistake “not caused by the neglect of a legal duty on the part of the person making the mistake.” We find nothing in the record warranting a conclusion that the mistake was caused by the neglect of any legal duty on the part of plaintiff.
Section 1691 of the Civil Code provides that, except where effected by consent, rescission can be accomplished only by the use, on the part of the party rescinding, of reasonable diligence to comply with the following rules:—
“1. He must rescind promptly, upon discovering the facts which entitle him to rescind, if he is free from duress, menace, undue influence, or disability, and is aware of his right to rescind; and,
“2. He must restore to the other party everything of value which he has received from him under the contract; or must offer to restore the same, upon condition that such party shall do likewise, unless the latter is unable or positively refuses to do so.”
We see no force in the claim that the attempted rescission was incomplete for want of a sufficient offer of restoration of all that plaintiff had received under the contract. The offer was in full accord with the above-quoted provision of the Civil Code. The point of learned counsel for defendant in this connection appears to be that it was invalid because made upon the express condition that defendant restore “all moneys and things of value received as consideration for said lease,” which would include all amounts received by him as rent stipulated thereby. Such, however, is the provision of our code relative to the offer, that condition being expressly provided for therein. In the event of rescission, plaintiff was entitled to have restored to him all sums paid by him under the contract. This does not mean that defendant was not entitled to have reasonable compensation for the use of his land for the time preceding the rescission, if circumstances were such as to make it just that he should have such compensation. The offer of plaintiff was broad enough to include such compensation. In addition to offering possession of the land, etc., he offered “to do and perform all acts and things which may be *152 necessary or proper in order to fully restore to you any and all things of value received by me from you as fully and completely as if said lease had never been made.”
The decision of the learned trial judge against plaintiff is based upon his conclusion that he had not used reasonable diligence to comply with the requirement of subdivision 1 of section 1691 of the Civil Code to rescind promptly on discovery of the facts entitling him to rescission, if “aware of his right to rescind.” Is there sufficient support in the evidence for this conclusion? There is not a vestige of evidence to indicate that plaintiff, after discovery of the facts, delayed action looking to a repudiation of the lease by reason of any desire to hold the same for a time, with the possibility of profiting thereby. It was demonstrated by the evidence that from the moment of discovery of the facts it was recognized by plaintiff that Ms lease was absolutely valueless, as in fact it was, and contended that he should, in justice, be released from his obligation to pay rents thereunder, unless the contract was modified in such a way as to give him a term sufficiently long to warrant the construction by him of a building in accord with the "requirements of the ordinance. He at once made known his position in regard to the matter to the agents who had effected the lease and who collected the rents for the second month, and maintained that position until it was finally apparent that a longer term upon a satisfactory basis could not be agreed upon. The delay in ascertaining that fact was due principally to the absence of defendant from the state, and the evidence is such as to practically compel the conclusion that plaintiff acquiesced as long as he did solely because he hoped that some satisfactory solution might be agreed upon by himself and defendant, and that he had reasonable grounds for such hope. The facts of the case were such that defendant could not but know as soon as he learned of the ordinance that the lease already executed was practically worthless to plaintiff. It is absolutely clear too, that plaintiff did not have any idea that the law gave him the right to rescind the contract of lease for such a mistake as this until upon the conclusion of his efforts to adjust the matter with the defendant in some way, he, on March 1, 1907, consulted a lawyer. His letter of February 4, 1907, to defendant, in wMch he asked to be released if defendant
*153
would not accept his proposition for a new lease, showed that he was still absolutely ignorant of any such right. It cannot be disputed that he proceeded with all due diligence upon learning that such a remedy existed, but it is urged, in accord with the views entertained by the learned judge of the trial court, that he should earlier have made himself acquainted with his legal rights in the matter, upon the theory that means of knowledge are equivalent to knowledge. The words “and is aware of his right to rescind” in subdivision 1 of section 1691 of the Civil Code necessarily mean something more than that a party could have ascertained that the remedy by rescission existed by investigating as to what remedies the law afforded. Meaning no more than this they would be entirely superfluous. Discovery of the facts entitling him to rescind would alone suffice. The statute provides that in addition “to discovering the facts” he must be “aware of his right to rescind.” These words imply in regard to the right to a remedy by rescission at least as much as the word “discovering” implies in regard to the facts entitling him to rescind, viz., that he should actually have knowledge of circumstances sufficient to put him on an inquiry which if followed would have developed the truth (see
Lady Washington C. Co.
v.
Wood,
We do not think that the complaint of plaintiff affirmatively showed such laches on his part in rescinding as to render it defective. The payment of rent under the circumstances shown did not constitute a waiver of the right of rescission.
The judgment and order denying a new trial are reversed.
Shaw, J., Lorigan, J., Henshaw J., and Melvin, J., concurred.
Rehearing denied.
