Security Pacific National Bank appeals from the trial court’s grant of summary judgment concluding the mechanics’ lien of J. Lamar Richards had priority over Security Pacific’s mortgage on the property in question. We affirm.
FACTS
On May 15, 1985, Debra Youngman purchased, under a uniform real estate contract (U.R.E.), residential property located in Salt Lake City. The property was subject to five encumbrances: Three simple deeds of trust totaling $139,130, an “all-inclusive” deed of trust for $284,239.80 in favor of Gail Zscheile, and a second all-inclusive deed of trust for $395,000 in favor of Lafayette Properties. The three simple trust deeds and the Zscheile trust deed were all recorded in 1985. The U.R.E. and the Lafayette trust deed were not recorded until June 29, 1988.
Sometime prior to June 29, 1988, but in that month, J. Lamar Richards, a painting contractor, commenced work on the property at Youngman’s request. By August 26, 1988, Richards had completed his work, supplying materials and services valued at $9499.50. Youngman paid $4000 towards retiring that debt. On November 16, 1988, Richards filed a mechanics’ lien in the amount of $5985.
On July 7, 1988, Ameristar Financial Corp. and Youngman closed a loan for the purpose of refinancing Youngman’s obligations on the property. Ameristar loaned Youngman $320,000. Of that amount, $98,029.95 went to the three individuals holding the simple trust deeds, $151,970.05 went to Zscheile, and $53,546 went to Lafayette Properties. Thus, $303,546 of the loan paid off existing encumbrances on the *608 property. The balance of the loan, $16,454, covered the costs of the loan. Ameristar received a trust deed in the amount of $320,000, which was recorded on July 7, 1988, as security for the loan. On October 15, 1988, Ameristar assigned its trust deed to First Boston Mortgage Securities Company. On the same day First Boston assigned the trust deed to Security Pacific. The record does not indicate if Ameristar ever asked Ms. Youngman whether any remodeling or construction work had been, or was being, undertaken. Ms. Youngman did, however, sign a “Fannie Mae” affidavit containing, among many other things, preprinted language that she had not “given, conveyed, permitted, or contracted for, or agreed to give, convey, or permit any lien upon the Property to secure a debt or loan.” In addition, two forms prepared by Ameristar’s underwriter, neither of which have Ms. Youngman’s signature, have checks next to a box labeled first mortgage.
Richards filed an action against Young-man and others, ultimately including Security Pacific, asserting that his mechanics’ lien was superior to the Ameristar trust deed. Richards filed for summary judgment. Richards argued that because a mechanics’ lien relates back to the commencement of work and he commenced work at least by June 29, 1988, his lien was superi- or to the Ameristar loan recorded July 7, 1988. Security Pacific filed a cross-motion for summary judgment. Security Pacific argued that under the doctrine of equitable subrogation its mortgage had priority over Richards’s mechanics’ lien.
On August 20, 1991, the trial court granted Richards’s motion for summary judgment against Security Pacific. In doing so, the court ruled: “Based on the undisputed facts of record and equities between the parties, the court concludes that the doctrine of equitable subrogation as claimed by defendant Security Pacific is not applicable in this case” and Security Pacific’s interests were “inferior and subordinate to plaintiff’s mechanics’ lien.”
On appeal, Security Pacific argues the trial court erred in granting Richards’s motion for summary judgment. It asks us to reverse the trial court's summary judgment and hold the doctrine of equitable subrogation requires judgment in its favor.
STANDARD OF REVIEW
Summary judgment is appropriate when there is no genuine issue of material fact and the moving party is entitled to judgment as a matter of law.
Hill v. Seattle First Nat’l Bank,
I. EQUITABLE SUBROGATION
The doctrine of equitable subrogation has not often been applied in Utah. The only detailed analysis of the doctrine is in a case from early in this century,
Martin v. Hickenlooper,
A. General Doctrine
The doctrine of equitable subro-gation is widely recognized in American jurisprudence and has long been part of Utah law.
See Hickenlooper,
Nevertheless, courts have focused on two critical questions in determining whether to apply the doctrine of equitable subrogation to grant a subsequent lender priority over an intervening lienor. First, whether there was an agreement, either express or clearly implied, that the subsequent lender would succeed to the priority position of the earlier lender.
Hickenlooper,
B. Knowledge
1. Utah Cases
Older Utah cases provide some guidance on the issue of knowledge. In
Badger Coal & Lumber Co. v. Olsen,
Another early case refused to grant complete subrogation because of the earlier lender’s constructive knowledge of an intervening lien. In
George v. Butler,
In Hickenlooper, Mr. Stoven executed a mortgage on some property in favor of the State of Utah. Stoven then sold the property, subject to the mortgage, to the Hickenloopers. The Hickenloopers then executed a second mortgage in favor of Martin. They then conveyed the property, subject to both mortgages, to Fritsch Loan & Trust. Fritsch then executed a mortgage in favor of Mrs. Zorn and used the money to pay off the mortgage held by the State. Joining all parties, Martin brought an action to foreclose. Mrs. Zorn asserted that, because her loan was used to pay off the State, was intended for that purpose, and Fritsch had agreed and represented to Mrs. Zorn that her lien would be a first lien, she had priority over Martin. Mrs. Zorn had no knowledge of Martin’s lien. The opinion does not indicate if the lien had been recorded. However, Mrs. Zorn relied on the representations of Fritsch’s agent who told her she did not need a lawyer to assure her priority.
The trial court, after a trial on the merits, found in favor of Mrs. Zorn.
Hickenlooper,
The more recent Utah cases applying equitable subrogation principles involve unique factual circumstances not helpful to our analysis. 3 Aside from the passing reference in Hickenlooper, Utah courts have not considered whether equitable subrogation is applicable when a subsequent lender does not have actual notice of an intervening mechanics’ lien. To resolve this question we look to Utah’s mechanics’ lien statutory scheme and then look at how other jurisdictions have dealt with the issue.
2. Mechanics’ Lien Statutes and Constructive Notice
Utah’s mechanics’ lien statutes exist to protect those who enhance the value of property by supplying labor or materials.
Calder Bros. Co. v. Ross L. Anderson Signs, Inc.,
*610 relate back to, and take effect as of, the time of the commencement to do work or furnish materials on the ground for the structure or improvement, and shall have priority over any lien, mortgage or other encumbrance which may have attached subsequently ... [or] was unrecorded at the time the ... improvement was commenced, work begun, or first material furnished on the ground.
*611
A number of courts have concluded constructive notice under mechanics’ lien statutes defeats application of equitable subro-gation.
See, e.g., Collateral Inv. Co. v. Pilgrim,
On appeal, Collateral Investment argued it should be equitably subrogated to the construction mortgages. The appeals court affirmed on two grounds. First, Collateral Investment did not advance the money on behalf of the debtor.
Collateral,
The Minnesota Supreme Court, in
Carl H. Peterson Co. v. Zero Estates,
We conclude the constructive notice provided by Utah’s mechanics’ lien statutes defeats a claim for equitable subrogation. The mechanics’ lien statutes are an expression of legislative intent that should stay the hand of equity in this situation. If we held otherwise, we would violate the equitable maxim that equity follows the law. Thus, because Richards commenced visible work on the property at least seven days prior to the Ameristar refinancing, Security
*612
Pacific had constructive knowledge of the mechanics’ lien via our mechanics’ lien statutes.
See
Utah Code Ann. § 38-1-5 (1988);
Colder Bros.,
Security Pacific argues that Richards receives a windfall simply because the property was refinanced. If we held against Richards, however, Security Pacific would receive the windfall. They would have the value of his work without having paid anything for it. Given the legislature’s creation of a specific statutory preference for mechanics’ lienholders, if the question is framed as a choice between which party should receive a windfall, we believe it should be the mechanics’ lienholder.
In addition, the fact there have been few equitable subrogation cases before the courts in recent years underscores the argument that commercially sophisticated lenders should protect themselves in contract. Commercial lenders can easily examine the property, ask specific questions regarding the existence of intervening lien-holders, acquire subordination agreements with any lienholders that exist, or, in many cases, assume the rights of the earlier lender by assignment,, In contrast, asking mechanics and materialmen to stay apprised of the state of title for each property they perform work on adds a layer of legal complexity that many have no capacity to incorporate into their businesses. Given the statutory protection granted mechanics’ lienholders, it is much more appropriate to have commercial lenders bear the burden of protecting themselves. 6
II. ATTORNEY FEES
Counsel for Richards asks that we remand the case to the trial court for an award of costs and attorney fees in accord with Utah’s mechanics’ lien statutes. The Utah mechanics’ lien statutory scheme provides for attorney fees to a party that must undertake court action to recover on the lien. The Utah Code provides: “In any action brought to enforce any lien under this chapter the successful party shall be entitled to recover a reasonable attorneys’ fee, to be fixed by the court, which shall be taxed as costs in the action.” Utah Code Ann. § 38-1-18 (1988). An appeal from a suit brought to enforce a lien qualifies as part of “an action” for the purposes of this section.
See Govert Copier Painting v. Van Leeuwen,
CONCLUSION
We conclude that under Utah’s mechanics’ lien statutes a subsequent lender has constructive notice of intervening mechanics’ liens. Thus, we affirm the trial court’s ruling that Security Pacific is not entitled to utilize the doctrine of equitable subrogation to defeat Richards’s mechanics’ lien. We, therefore, remand this case to the trial court for entry of a judgment including reasonable attorney fees and costs for this appeal in favor of Richards.
ORME and BENCH, JJ., concur.
Notes
. For example, Texas courts infer an agreement to subrogate from the fact of a loan.
See Diversified Mortgage Investors v. Lloyd D. Blaylock General Contractor, Inc.,
.
See Metropolitan Life Ins. Co. v. First Security Bank,
. Whether the work done by Richards was sufficient to meet the visible commencement standard is not an issue in this case.
See King Bros., Inc. v. Utah Dry Kiln Co.,
13 Utah.2d 339,
. Another court implied it would hold constructive notice defeats equitable subrogation.
See Metropolitan Life Ins., Co. v. First Security Bank,
. Furthermore, this case illustrates the wasteful nature of litigation over the doctrine of equitable subrogation. Plaintiffs five thousand dollar lien has most recently been the subject of a judgment, including costs and fees, of nearly ten thousand dollars. That does not include the costs or fees relating to this appeal, which plaintiff also recovers. The nature of situations in which equitable remedies are applicable are highly fact sensitive and will always require a significant amount of legal work to present. Thus, encouraging simple contractual solutions is sound public policy.
