This is an action of foreclosure of two certain mortgages, the note and mortgages being executed by appellant Luce in favor of respondent Clemens. The note was payable two years after date, interest payable quarterly, and if not so paid then to become a part of the principal and bear a like rate of interest till paid. The note also contained the following provision: “And I further agree that in the event of suit being brought against me then there shall be added to any judgment against me rendered in said suit as counsel fees 'an additional sum of five per centum in like gold coin upon the amount of the principal and interest hereof, accrued at the time of the entry of such judg*435ment, or, if paid before judgment and after action commenced, then on the amount at the date of payment.” The mortgages recited that if default be made in the payment of the interest, or any part thereof, according to the tenor of said note then the whole sum of principal and interest shall become immediately due, and the mortgagee may proceed with suit of foreclosure and sell the mortgaged premises in the manner provided by law. The mortgages also contained the recitals, that they are given “ as security for the payment to said mortgagee of the sum of sixteen thousand dollars, in gold coin of the United States of America, with interest thereon according to the terms of a certain promissory note, of date September 22, 1891, in words and figures,” etc.
It is insisted that a general demurrer to the complaint should have been sustained upon the ground that nothing was due upon the note at the time the action was brought. Two of the quarterly installments of interest had not been paid when the complaint was filed, but it is charged that such payments were not due, inasmuch as the maker of the note had the privilege of allowing the installments of interest to become a part of the principal. There is no strength in appellants’ position. The mortgages are attached to, and made a part of, the complaint, and there is not the slightest conflict between the terms of the note and the terms of the mortgage when we consider them together. This identical question was before the court in Brickell v. Batchelder, 62 Cal. 623, and it was there said: “ The right to dispose of the interest due and unpaid in the mode prescribed in the note was given to the plaintiff mortgagee, not to the mortgagors. A failure to so dispose might arise from the concession of the plaintiff and not from any default of the mortgagors, except by default in paying the interest monthly. The language of the note and mortgage gave to the mortgagee the right on default to preceed to foreclosure. He might delay it or waive it, but a delay in exercising this right could not be construed as depriving him of it.” The *436same principle is also recognized and approved in Maddox v. Wyman, 92 Cal. 674.
The judgment upon the pleadings was properly ordered. The answer created no issue. - The denial that the plaintiff was the owner and holder of the note and mortgages amounts to nothing. (Monroe v. Fohl, 72 Cal. 568; 95 Am. Dec. 90; Poorman v. Mills, 35 Cal. 118; Bank of Shasta v. Boyd, 99 Cal. 604.) Neither is there a conflict between the provisions of the note and the terms of the mortgage as to wdien the note is to become due; and consequently the fact that certain provisions of one were printed, and certain provisions of the other written, becomes entirely immaterial. Again, no demand' for payment was necessary prior to the commencement of the action, for the mortgagor was guilty of a breach of contract when he defaulted in payment of interest, and the cause of action immediately accrued. Prescott v. Grady, 91 Cal. 518, is not in point.
The mortgages in this case were given as security for the payment of sixteen thousand dollars in gold coin, with interest thereon, as specified in a certain note. This was the contract of the parties. It nowhere appears in either of said mortgages, that they were given to secure the payment of any attorney’s fee whatever. Indeed, the matter of attorney’s fee is not mentioned in either instrument. As to what these mortgages were given to secure was a matter of pure contract between the parties. They could have been given to secure the principal of the note alone, or the interest alone, or both principal and interest, as was actually done, or they could have been given to secure future advances and attorney’s fees, in case of foreclosure. It follows that security for an attorney’s fee is not provided for in either mortgage, and consequently such fee cannot be made a lien upon the land, and the judgment of the court in that regard is erroneous. We are authorized to go a step further, and hold that plaintiff, as to the foreclosure of the securities, was not entitled to any attorney’s fee whatever, for there was no stipulation to that *437effect in the mortgage. This has always been the law in this state. (Monroe v. Fohl, 72 Cal. 568.)
As the obligation for the payment of attorney’s fees, although not secured by the mortgage, was included in the instrument by which the secured debt was evidenced, and provided that judgment might be entered for counsel fees in such suit, it was properly included in the same action, but the right to a judgment for such fees was the same as it would have been in an action upon a promissory note with such a clause, of which no part was secured by mortgage. In such a case it is held that when the note is payable on demand, it is necessary to allege and prove an actual demand before there can be such a breach of the contract as will authorize a recovery of this special demand for attorney’s fees. (Prescott v. Grady, 91 Cal. 518.) Although by the terms of this agreement the maker renders himself liable to an action by his mere default prior to the maturity of his obligation (Hewitt v. Dean, 91 Cal. 5), yet if his liability for additional damage is not so established, but is merely consequent upon another liability which depends upon the option of the holder of the instrument, and cannot exist until after that option shall have been exercised, it is only just that the holder of the obligation should inform him of this option, in order that he may avoid the additional damage by making payment of the note. The right to bring an action after his default without any demand of payment is limited to the purposes for which the action is to be brought viz., the foreclosure of the mortgage, and it does not include the attorney’s fees. As the note in the present case does not give to the holder the right to bring an action before its maturity, that right being created by the mortgage alone, and limited to a foreclosure of the mortgage, if the holder would claim the attorney’s fees provided for in the note, he should be required to give notice of his option to claim the whole amount to be due, as much as though the action was upon the note alone. For this reason *438the judgment for the amount of attorney’s fees was erroneous.
It is ordered that the cause be remanded, with direction to the trial court to modify the judgment by striking therefrom the amount of the attorney’s fee allowed; and in all other respects it is ordered that the judgment and order be affirmed.
Harrison, J., and Paterson, J., concurred.
Hearing in Bank denied.