OPINION
Opinion By
This is .a declaratory judgment suit involving the distribution of surplus proceeds generated by a junior hen foreclosure and sale of property owned by appellees Joan Wilson Kessler and Karen. Ledesma. Conversion Properties, L.L.C. appeals the trial court’s disposition of cross motions for summary judgment. In six points of error, appellant generally asserts the trial court erred in granting appellees’ motion for summary judgment and denying its motion for summary judgment because the surplus proceeds should be apphed to reduce the debt secured by the senior hen before being distributed to appel-lees. Concluding that the surplus proceeds cannot be used to reduce the indebtedness secured by the senior hen, we affirm the trial court’s judgment.
Facts
On April 28, 1989, Kessler and Ledesma purchased a home in Dallas County. As part of the purchase price for the home, they assumed the obhgation to pay a note in favor of Nowlin Mortgage Company that was secured by a deed of trust (first deed of trust). Also in connection with the purchase of the home, appellees executed a note for $36,364 in favor of Guaranty Federal Savings Bank. The Guaranty Federal note was secured by a second deed of trust on the home.' Upon default, the trustee was empowered to sell the property referenced in the second deed of trust with the proceeds to be apphed in the following order: (a) all reasonable costs and expenses of the sale; (b) sums secured by *812 the deed of trust; and (c) any excess to the persons legally entitled thereto.
Appellees defaulted on the Guaranty Federal note and the substitute trustee commenced foreclosure proceedings. A sale was held on December 5, 1995, and Conversion Properties purchased the property for $50,000. From the proceeds of the foreclosure sale, the trustee allocated $1,250 for trustee’s fees, and paid $33,-958.92 to Guaranty Federal, leaving a surplus of $14,791.08. Conversion Properties claims it was unaware of the existence of the first deed of trust at the time it purchased the property. 1 Upon learning of the first deed of trust and appellees’ default on the underlying obligation, Conversion Properties made the delinquent payments. It later paid an additional $12,524.71 toward the principal owed on the prior note. Conversion Properties then entered into a subrogation agreement with the holder of this note to the extent of Conversion Properties’s payments.
As holders of the equity of redemption, appellees requested the trustee to release the surplus funds to them. Conversion Properties, on the other hand, claimed the surplus funds should be applied to the debt secured by the first deed of trust. Specifically, Conversion Properties asserted it was entitled to the surplus funds to the extent of the payments it had made on the senior lien indebtedness under the theory of equitable subrogation.
Appellees filed this declaratory judgment action pursuant to Chapter 37 of the Texas Civil Practice and Remedies Code seeking a declaration that (1) they were entitled to the surplus foreclosure proceeds as holders of the equity of redemption, and (2) Conversion Properties’s sub-rogation claims were invalid. Conversion Properties filed a counterclaim requesting contrary declarations. Both parties filed motions for summary judgment. The trial court denied Conversion Properties’s motion and granted appellees’. It also awarded appellees $3,000 in attorney’s fees. Conversion Properties appeals both the denial of its motion and the granting of appellees’ motion.
Discussion
To prevail on a summary judgment motion, a plaintiff must conclusively establish all elements of its cause of action.
See MMP, Ltd. v. Jones,
Under its first and second points of error, Conversion Properties asserts
Summers v. Consolidated Capital Special Trust,
Summers involved the foreclosure of a wraparound note secured by a junior deed of trust. See id. at 580-81. In a wraparound financing arrangement, the purchaser accepts title to the property subject to any existing liens and executes a note that includes the principal balance of the underlying indebtedness secured by the prior existing liens. See id. at 581. The Summers court held that when a deed of trust lien securing a wraparound note is foreclosed, the trustee, acting for the note holder, is obliged by implied covenant to apply the net sales proceeds to discharge the entire wrapped indebtedness as reflected in the note. Id. at 583. Because the principal amount of the wraparound *813 note being foreclosed includes the principal balances of the pre-existing notes, the Summers court determined that the proceeds from the foreclosure sale must first be applied to the total outstanding balance on the wraparound note, including the preexisting debt, before making any distribution to the debtor. See id.
Conversion Properties suggests that we imply a similar covenant in the second deed of trust in this case so that excess foreclosure proceeds will be applied to reduce the indebtedness secured by the first deed of trust. In light of the obvious differences between a wraparound financing arrangement and the conventional junior deed of trust lien involved in the present case, we are unpersuaded that
Summers
is controlling authority in this case and, therefore, decline Conversion Properties’s invitation.
See
Janet L. Hunter, Note,
Texas Adopts the “Outstanding Balance” Method of Calculating the Deficiency or Surplus After Foreclosure of a Wraparound Deed of Trust: Summers v. Consolidated Capital Special Trust,
The power of a trustee to sell the property for the parties is derived solely from the deed of trust and can only be exercised in strict compliance with the note and conditions of sale.
Bonilla v. Roberson,
Foreclosure does not terminate interests in the foreclosed real estate that are senior to the mortgage being foreclosed. Restatement (Third) of PropeRty: Mortgages § 7.1 (1997). In fact, the general rule is that the successful bidder at a junior lien foreclosure takes title subject to the prior liens. See id. cmt. a; W. Mike Baggett, Texas Foreclosure Law & Practice § 2.69 (1984); 59 C.J.S. Mortgages § 549 (1998); 59A C.J.S. Mortgages § 601 (1998). The purchaser takes the property charged with the primary liability for the payment of the prior mortgage and must therefore service the prior liens to prevent loss of the property by foreclosure of the prior liens. See 55 Am.Jur.2d Mortgages § 808 (1996); Baggett, supra. Consequently, as a practical matter, a prospective purchaser usually will subtract the amount of any outstanding senior liens from the fair market value of the property in calculating its foreclosure bid. See Restatement (Third) of Property: Mortgages, supra § 7.1 cmt. a.
If there are surplus proceeds generated by the foreclosure sale after paying the trustee’s fees and expenses and the existing indebtedness secured by the foreclosed lien, they are distributed to inferior lienholders, or to the holder of the equity of redemption if there are no inferi- or lienholders.
See Mortgage & Trust Inc. v. Bonner & Co.,
Appellant has not cited a single case, and we have found none, in which the trustee applied the surplus funds from a conventional junior lien foreclosure sale to the indebtedness secured by a senior hen in the absence of special circumstances, such as a specific agreement at the time of sale between the trustee and the purchaser.
See Shaikh v. Burwell,
In its third and fourth points of error, Conversion Properties contends that because it has paid a portion of the first lien indebtedness in order to protect its interest in the property and prevent the senior lienholder from foreclosing, it should be subrogated to the rights of the first lienholder as a matter of law. Conversion Properties further argues it is entitled to a judgment against the excess foreclosure proceeds to the extent of its payment of the prior indebtedness.
In support of its subrogation theory, appellant relies primarily on
Schneider v. Sellers,
Equitable subrogation is designed to prevent the unjust enrichment of a debtor who owed a debt that has been paid.
World Help v. Leisure Lifestyles, Inc.,
Subrogation involves the substitution of one person for another regarding a lawful claim or right.
See Cockrell v. Republic Mortgage Ins. Co.,
In its fifth and sixth points of error, Conversion Properties asserts the trial court abused its discretion in awarding attorney’s fees because the trial court erred in granting appellees’ request for declaratory relief and denying appellant’s. Having concluded the trial court did not err in its disposition of the cross motions for summary judgment, we find no abuse of discretion on the part of the trial court regarding the award of attorney’s fees. We overrule appellant’s fifth and sixth points of error.
We affirm the trial court’s judgment.
Notes
. Although Conversion Properties contends it had no actual knowledge of the first deed of trust, it does not contend that it lacked constructive knowledge of the first deed of trust. Conversion Properties does not allege the first deed of trust was improperly recorded or would have been undiscoverable through a proper title search.
