— After a full consideration of this case in Bank, we have reached the conclusion that the judgment of the court below should be affirmed.
The action is brought by plaintiff, Houghton, to foreclose a mortgage executed to him on April 6, 1871, by defendant Allen. The mortgage includes certain land not in contest here; and also lots 6, 7, and 8,—the premises in controversy.
The court below rendered judgment foreclosing the mortgage as to the other land, but refused to include lots 6, 7, and 8 in the decree. From the last-named part of thé judgment plaintiff appeals.
The complaint is in the usual form, and proceeds upon the theory that Allen was the owner in fee of the lots in question. The averments as to those lots are the same as the averments as to the other property included in the mortgage. If the theory of the complaint had been carried out in the judgment, all right of defendant Dresbach in the said lots would have been foreclosed, and as against him the purchaser at the foreclosure sale would have taken an unencumbered fee-simple title.
*104But Allen was- not the owner of the lots. On the twenty-second day of August, 1870, these lots were owned in fee by John P. Jackson; and on said day Jackson made a written contract with Allen by which he agreed to convey them to Allen on the twenty-second day of August, 1872, provided Allen would pay, him fifty dollars in cash, and one hundred dollars on August 22,1881, and one hundred dollars on August 22, 1882,—the two deferred payments to bear interest at twelve per cent per annum. It was provided that time should be considered as of the essence of the contract; and that if Allen failed or neglected to make either of the payments, Jackson should be wholly released and discharged of any claim at law or in equity for a performance of the contract, etc. Allen paid the fifty dollars, and went into possession. While in possession—and on April 6, 1871—he executed to Houghton the mortgage above referred to, which included these lots. But when the first one hundred dollars became due, Allen failed to pay any part of it, and has totally neglected to pay any part of either of the deferred payments; and Houghton never paid or offered to pay anything on the contract. On the twelfth day of January, 1872, Jackson, for a consideration of $250, conveyed the lots to the defendant Dresbach. The contract between Jackson and Allen was not recorded until July 9,1872; but when Jackson conveyed to Dresbach, Allen, being in default, consented to the conveyance, and to deliver the possession to Dresbach. The deed to Dresbach recited that there had been a con-' tract with Allen, and that the conveyance was made at Allen's request. This was the first notice, so far as it appears, which Dresbach had of the character of Allen's possession.
If there were nothing in the contract more than as above stated, it would be clear that no interest of any kind in the lots in question remained in Allen or Houghton. There was another clause, however, which provided *105that upon the failure of Allen to make any payment, “it shall be the duty” of Jackson to sell the lots at public auction for cash, and of the proceeds to retain the amount due him on the contract, with the expenses of sale, etc., and pay the overplus, if any, to Allen. Ho demand was ever made upon Jackson or Dresbach to sell the lots. But it is contended that as the property was not sold at auction, therefore, in some way or other, the title passed to Allen, and that Houghton can subject it, free from any other claim whatever, to the payment of his demand against Allen; that is, that Houghton can get the lots, by virtue of his mortgage, without paying for them.
Admitting, for the present, that Allen, as against Houghton, could not waive the sale of the lots at auction, and that no demand for such sale was necessary; and admitting further that if Houghton had foreclosed whatever interest Allen had in the lots by virtue of the contract, and purchased at the foreclosure sale, he might have maintained an action against Dresbach for the direct purpose of compelling a sale at auction, and the appropriation of the surplus, if any, over the contract debt, to Houghton,—still, it seems clear that'in this present action the title of Dresbach cannot be foreclosed and cut off. The rights only of those who hold or claim under the mortgagor can be determined in an action to foreclose a mortgage; a title claimed adversely to the mortgagor cannot be thus litigated. (Grogan v. Spence, 53 Cal. 15; Marlow v. Barlow, 53 Cal. 456; San Francisco v. Lawton, 18 Cal. 465.) Dresbach did not hold or claim under the mortgagor, Allen; he held under Jackson, and stood in the latter’s shoes. He was, therefore, not a proper party to the action. Having been made, however, a defendant under the general averment that he had or claimed some interest in the mortgaged premises which was “subsequent and subject” to the mortgage, he was forced to answer. His answer set forth the nature of his interest, and denied that it was subject to *106the mortgage. The court sustained his defense, and we think, correctly.
Judgment affirmed.
McKinstby, J., Seabls, C. J., Thobnton, J., and Shabpstein, J., concurred.