Plaintiff, Ralph C. Sutro Company, brought suit in interpleader. The interpleaded fund of $10,910.39 represents the balance of moneys held by plaintiff pursuant to a construction loan agreement between plaintiff and Hindry Properties, Inc. Western Investment and Title Company (Witco), claims the interpleaded fund under contractual rights and is opposed by the remainder of the defendants, respondents herein, all of whom rendered services or delivered materials on behalf of said construction. The trial court, after deducting Sutro’s costs and attorney’s fees, ordered the fund distributed on a pro rata basis to respondents. Witco appeals.
The facts pertinent to a decision herein are as follows: On November 15, 1957, plaintiff, Sutro Cq., entered into a loan agreement with Hindry Properties, Inc., whereby Hindry as the owner of certain property was to borrow $60,000 from or through Sutro for the construction of a 15-unit two-story apartment building thereon. The loan agreement further provided that the loan proceeds were to be used exclusively for the express purpose of paying bills and claims for labor and materials with respect to the construction. On the same date Hindry Properties, Inc. executed a deed of trust and note in the same amount pursuant to such loan agreement. The deed of trust was recorded on January 20, 1958, and thereafter construction commenced upon said apartment building. On March 5, 1958, Sutro Co. sold and assigned the note and trust deed to a third party who, in turn, sold and assigned same to the appellant Witco on May 26, 1959, for the sum of $61,947.90. Notice of default and intention to sell under the trust deed had been recorded by the trustee, Title Insurance and Trust Company, on February 19, 1959. On June 25, 1959, Witco purchased the property at the foreclosure sale for the sum of $53,600. At that date the total indebtedness on the property was shown to be $62,223.06. The question raised by this appeal is whether the trial court was justified in finding that the interpleaded amount constituted a trust fund held for the benefit of respondents and that said respondents have a claim and lien in equity against said fund to the exclusion of appellant Witco. We find that it was.
It is stipulated that the respondents’ services, the claims
*436
for which being duly recorded, were fully performed previous to the foreclosure sale on June 25, 1959, and the trial court found that they were completed prior to the commencement of said foreclosure proceedings on February 19, 1959. The loan agreement provided for payment in seven installments with the last to be drawn and paid when Hindry had established that all costs of labor and material and other expenses had been fully paid. In this Hindry had defaulted. In spite of attempts by the appellant to distinguish the cases on the facts the reasoning in the
Whiting-Mead Co.
v.
West Coast etc. Co.,
Appellant argues against the existence of the trust and refers to the provision in the loan agreement that the Sutro Co. was not responsible for the application of the proceeds of the loan. However, that provision is in no way inconsistent with the trust arrangement; the trust purpose being clearly expressed, it is the trustee, not the trustor or the beneficiaries, who is placed under the duty of carrying out that purpose. (Civ. Code, § 2258;
Union Bank & Trust. Co.
v.
McColgan,
The express wording of the loan agreement precludes *437 appellant’s argument that the trust would violate the rule against perpetuities for the reason that no time was fixed for completion of the building. The agreement set forth the terms of the loan, the schedule for payment, and the date of final repayment which was well within the required period. There was no uncertainty as to the beneficiaries of the trust.
In addition, independent of any trust relationship, the rights of the lien claimants are simple legal rights arising out of the contract. The contract should be read as a whole in the light of the circumstances under which it was entered
into in
determining the question, which is one of construction, whether it was intended for the benefit of third persons.
(Woodhead Lumber Co.
v.
E. G. Niemann Investments,
Appellant further relies on a provision in the note secured by the deed of trust which was assigned to him to the effect
*438
that the holder thereof may deal in any manner whatever with any endorser of that guaranty or any instrument thereby guaranteed. Appellant exercised this right in its foreclosure proceedings and subsequent purchase thereunder of the property in question. It has no further rights to the interpleaded fund. The sale of any property on which there is a lien, in satisfaction of the claim secured thereby, extinguishes the lien. (Civ. Code, § 2910.) The lien is likewise extinguished under ordinary circumstances by merger of the lien and ownership of the land in one person, unless it is necessary for the protection of that person’s rights that it be kept alive.
(Anglo-Californian Bank
v.
Field,
The judgment is affirmed.
Ford, J., and Files, J., concurred.
A petition for a rehearing was denied June 11, 1963, and appellant’s petition for a hearing by the Supreme Court was denied July 17, 1963.
