In a case an- alogous to the vendor's lien, where money has been paid prematurely before convey- ance made, the purchaser and his represen- tatives have a lien; 3 Y. & J. 264; 11 Price 58; 1 P. Wms. 278. So where the purchase money has been deposited in the hands of a third person, to cover incumbrances; 1 T. & R. 469; 1 Ves. 478. Yet a lien will not be created for a third party, who was to receive an annuity under a covenant as a part of the consider- ation for the conveyance; 3 Sim. 499; 1 Μ. & Κ. 297; 2 Keen 81. The deposit of the title deeds of an estate gives an equitable lien on the estate; 4 Bro. C. C. 269; s. c. 1 Lead. Cas. Eq. 931; L. R. 3 Р. С. С. 299; Bisph. Eq. 357; without any express agreement either by parol or in writing. But not when the circum- stances of the deposit were such as to show that no such lien was intended; 36 Beav. 27. This equitable lien has been recognized in 2 Sandf. Ch. 9; 2 Hill, Ch. 166; 13 Wisc. 413; 10 Sm. & M. 418; but denied in 2 Disn. 9;1 Rawle 325. See 8 B. Monr. 435; 18 N. J. Eq. 104. This lien is not favored, and is confined strictly to an actual, immediate, and bona fide deposit of the title deeds with the creditor, as a security, in order to create the lien; 12 Ves. 197; Story, Eq. Jur. §1020; 4 Kent 150. It would not be valid under the recording acts as against a bona fide purchaser from the owner of the title, without notice. One who has a lien for the same debt on two funds, on one only of which another person has a lien, may be compelled in equity by the latter to resort first to the other fund for satisfaction; 8 Ves. 388; 1 Johns. Ch. 318; 1 Story, Eq. § 633; but not where there are prior liens on both funds; 184 Pa. 318. When a single lien covers several parcels of land, such of them as still belong to the real debtor will be primarily charged, to the exoneration of lands transferred to third parties; and if the purchasers are called upon to pay, they will be charged successively in the reverse order of time of transfers to them; 5 Johns. Ch. 440; 1 Pa. 275; but see contra, 2 Story, Eq. Jur. § 1233. One joint tenant has, in many cases, a lien on the common estate for repairs put on by himself above his share of the liabil- ity; 1 Ball & B. 199; Story, Eq. Jur. § 1236; Sugd. Vend. 611. And equity applies this principle even to cases where a tenant for life makes per- manent improvements in good faith; 1 Sim. & S. 552. So where a party has made improvements under a defective title; 6 Madd. 2; 9 Mod. 11. An agreement between two legatees whereby one purchases the interest of the other and agrees that the executor shall hold his own interest in the estate as secur- ity for the payment of the consideration, and shall pay to the vendor any sum due under the will to the vendee, creates an equitable lien on the personal property or its proceeds, to which the vendee is entitled under the will, but not on the real estate; 20 S. Rep. (Ala.) 456. So, too, there is a lien where property is conveyed inter vivos, or is bequeathed or devised by last will and testament, subject to a charge for the payment of debts; or to other charges in favor of third persons; Story, Eq. Jur. § 1244. A distinction must be kept in mind between a devise in trust to pay certain sums, and a devise subject to charges. An equitable lien may be given by ex- press contract upon future property; 50 Pac. Rep. (Cal.) 546; but it is not created by a mere promise to pay a debt from a particular fund if it should ever come into existence; 78 Fed. Rep. 417. An acknowledgment in a deed to a firm that a judgment in favor of the grantor against a member of the firm is to stand against a fractional portion of the property conveyed, creates a lien by deed, 38 Atl. Rep. (Pa.) 519. Rep. A covenant to convey and settle lands does not give the covenantee a lien; but was held to do so in case of a covenant to settle lands in lieu of dower; 3 Bro. Ch. 489; 1 Ves. 451; 1 Madd. Ch. Pr. 471. A court of equity cannot create a lien upon lands to secure a party for a breach of contract, whether under seal or not, when there is no agreement for a lien between the parties; 74 Mich. 57. A bargain and sale of personal property, accompanied by delivery, divests the ven- dor of any lien for payment, unless such lien is secured by chattel mortgage or by agreement between the parties; 181 U. S. 287. An equitable lien upon real estate does not result from the sale of personal prop- erty, even though it is used in the erection of buildings thereon; 42 N. E. Rep. (Ind.) 910. As to equitable liens on personalty, see 14 Cent. L. J. 42; on chattels, 19 id. 2, 24. Where the owner of an equity of redemp- tion in mortgaged lands agreed to charge a certain lot with the payment of two mort- gages held upon other property, and agreed to execute proper mortgages on said land, or to pay off the mortgage already given, the agreement created an equitable charge in favor of the mortgagees named in the instrument; 26 Can. S. C. R. 41. The hol