— The facts stated in the complaint in this case are as follows: On the twentieth day of August, 1887, the parties to the action entered into a written contract, whereby the defendant agreed to sell to the plaintiff certain lands in Santa Barbara County for the sum of one hundred and twenty thousand dollars, to bo paid as follows: One thousand dollars at the date of the contract; four thousand dollars within thirty days thereafter; thirty-five thousand dollars on or before November 1, 1887; and eighty thousand dollars at such time thereafter as the plaintiff should on November 1,1887, elect, not exceeding three years from date. The contract then says: “At the time of the payment of said thirty-five thousand dollars, the party of the first part [defendant] shall *178execute to the party of the second part [plaintiff] a proper deed conveying to said party of the second part said land by good title, free from encumbrances, and at the same time the party of the second part shall either pay to the party of the first part the balance of said purchase price, or shall execute to the party of the first part a first mortgage on said property to secure the payment of said eighty thousand dollars, with interest thereon at the rate of eight per cent per year, payable yearly. It is further understood and agreed that if the party of the second part does not pay said four thousand dollars within thirty days, or said thirty-five thousand dollars on or before the first day of November, 1887, this contract shall terminate, and the party of the first part shall not thereafter be under any obligations by reason of this contract, nor need he return said one thousand dollars, or any part of it.”
As required by the contract, plaintiff paid to the defendant one thousand dollars at the time of the execution thereof, and four thousand dollars within thirty days thereafter. Nothing further was done by either of the parties until on or about November 1,1887, when plaintiff decided and elected to proceed no further under the contract, and to forfeit the one thousand dollars first paid by him. He then so notified defendant, and demanded that he repay the said sum of four thousand dollars, but defendant refused, ever since has refused, and still refuses, to pay the same, or any part thereof.
Some time in 1888 defendant sold, conveyed, and delivered possession of the property mentioned in the contract to other parties.
Wherefore plaintiff prayed judgment against the defendant for the sum of four thousand dollars, with interest and costs.
The defendant interposed a general demurrer to the complaint, and it was sustained by the court. The plaintiff declined to amend, and thereupon judgment was *179entered that he take nothing. From that judgment plaintiff appeals.
We think the demurrer was improperly sustained. The case in all material respects is like Cleary v. Folger, 84 Cal. 316, 18 Am. St. Rep. 187, and Drew v. Pedlar, 87 Cal. 443; and on the authority of those cases we advise that the judgment be reversed, and the cause remanded, with directions to the ctm, t below to overrule the demurrer.
Fitzgerald, 0., and Foote, C., concurred.
The Court.— For the reasons given in the foregoing opinion, the judgment is reversed, and the cause remanded, with instructions to the court below to overrule the demurrer.