delivered the opinion oe the Court.
This was a proceeding in chancery for the foreclosure of a real estate mortgage..
The mortgage contained following provision:
“ The mortgagors further agree and consent that in any suit to foreclose this mortgage the court. may allow, in addition to the taxable costs and disbursements, whatever moneys the said creditor may necessarily and reasonably pay or become liable for on account of the services of any attorney, solicitor, or counsel in such suit, the said mortgagor hereby giving a lien upon the said premises for the same.”
The court found there was $13,341 due upon the mortgage debt, and decreed same, together with the costs of ■ suit, which should include a solicitor’s fee in the sum of $600, should be paid in thirty clays, and if not paid, the mortgaged premises be sold and same paid out of the proceeds of the sale, etc.
Appellant excepted to so much of the decree as required the payment of the solicitor’s fee.
The provision in the mortgage authorized the inclusion of a sum for a solicitor’s fee in the decree rendered in any suit brought to foreclose the mortgage.
No rule of law or equity forbids such an agreement, but courts of equity will enforce them. Heffron v. Gage, 149 Ill. 191.
The decisions in Nickerson v. Babcock, 29 Ill. 497, and Easter v. Boyle, 79 Ill. 325, are not applicable. They were actions at law, and the agreements to pay counsel fees were so construed that such fees were not due and payable when the actions were begun, and hence, according to a technical rule of law, not recoverable in such action, but only in separate suits. In the case at bar the agreement is, the fee may be recovered in the suit to foreclose.
The statute does not provide for the recovery of solicitor’s fees as costs, and therefore the order in the decree that the costs of suit should include the solicitor’s fee is irregular. But it is a mere irregularity in no wise prejudicial to the appellant, and therefore does not warrant reversal of the decree.
Witnesses were allowed to testify that $600 was a reasonable fee for the solicitors in the case, without objection or cross-examination by the appellant.
The solicitor for appellee testified with some minuteness of detail as to the services he had rendered in the proceeding, and that $600 was reasonable compensation therefor, and that he had charged complainant that sum for his services.
This testimony warranted the allowance under the agreement, which was, that there should be allowed whatever money the mortgagor “ may necessarily and reasonably pay or become liable for on account of the services of any attorney,” etc.
There is no error in the record. Decree affirmed.