delivered the opinion qe the court.
On June 9,1875, Anderson Halley and his wife, and Ben Simpson and his wife, conveyed to W. M. Beckner certain real estate in the city of Winchester in trust, with power to sell the same and convey it to the purchaser, and with the proceeds pay a debt due one John Taliaferro, secured to bim by a mortgage on the land. The remainder of the purchase price, ff any, was to be applied to the payment of a lien on the land held by Ben Simpson. In execution of the trust Beckner sold the lands to the appellees, and applied the proceeds to the Taliaferro debt, there being nothing left for the Simpson debt, but in the conveyances made therefor neither of his grantors or their wives joined.
The appellees were put in possession of the respective portions bought by them, and erected valuable improvements thereon. In October, 18S9, conceiving that the failure of Beckner’s grantors to join in the conveyances created a cloud on their title, the appellees brought these suits in the nature of <¡wa timet, making Beckner and the heirs and representatives of Halley and Simpson defendants thereto.
A demurrer was sustained to their petitions, and thereupon, without in terms abandoning theirclaim of ownership, the appellees filed amendments setting out the amount of purchase money paid by each, and the value of the improvements erected by them on the property.
Issues were joined, and the cases heard after reference to the master, who took proof as to the improvements, rents, etc. The court rendered a judgment subjecting the property to the payment of the purchase money paid out by the respective appellees, and to the payment, also, of the value of the improvements.
*442No defense was made for tlie Simpsons, but the Halleys have appealed from the judgment, insisting that although they are adjudged to be the owners of the property, yet the conditions imposed — of paying the large sums adjudged to be liens on the property — are not such as the law authorizes.
They contend that by this judgment “the wrongful occupants of land adjudged to have no title are repaid the ■total amount of their purchase money, tlie amount expended for improvements, the amount expended for taxes, are given the use of land gratis during more than seven years, and the real owners are adjudged to be entitled to possession only on paying this extravagant account of charges.”
The case of Myers, &c. v. Sanders’ heirs, 8 Dana, 65, is urged as a case exactly in point, where this court said: “It would seem inconsistent with all rule to allow a trespasser to make the person trespassed against his debtor for improvements made without his consent and against his will, or to allow him to set them off against the damages to which he has justly subjected himself by his trespass.”
Many other cases of like import are also cited by counsel for appellants.
On’the other hand, counsel for the appellees contend for the application of the rule recognized in Williams v. Rogers, 2 Dana, 374, where the court said: “Where, there has been no fraud .or manifest injustice in the conduct of either party, and the one has enjoyed the use of the land, and the other has enjoyed the use of its accepted equivalent, -the general rule of equity now recognized in this court, is that in decreeing a rescission for inability to convey the legal title, the land should be restored to the vendor, without any account for profits, and the price should be refunded to the vendee, without interest; whereby, according to their own *443estimate, of equivalents — the one deeming the use'of the price, to him, equal to that of the land, and the other deeming the use of the land, to him, equal to that of the price— they would be each so far reinstated. But if the vendee shall have made A'aluable and permanent improvements, or shall have committed waste, or otherwise improperly injured the land, there should be an account for waste, if any, and for improvements, if any.” And this rule is shown to have been adopted and approved in many cases.
The question presented, in Anew of these contentions, therefore, is what rule is to be adopted in the adjustment of rents, interest and improvements?
If the one generally applied between adverse claimants of land, by which the successful claimant becomes entitled to all the incidents of ownership for the time he has been wrongfully kept out of possession, subject to an equitable set-off for ameliorations, then the judgment is erroneous, but if the one usually applied between Aendor and vendee when the contract is rescinded because the title can not be perfected, and the vendee is allowed:, upon being compelled to surrender the property, to treat the rents as an equivalent to the interest on the purchase money, and have an account for improA^ements, if any, then the judgment is to be approved.
It is apparent that the parties to the original transactions acted in the utmost good faith. The deed of trust is not in the record, but the averments of the petition show that Halley and Simpson, together with their wives, conveyed the property to Beckner for a certain specific purpose, and he was empowered to sell and convey it to the purchaser.
It may well be argued that the grantors had no further interest in the property’, and intended to reserve none in the execution of the trust. The circumstance that their wives *444were required to join in the conveyance is in harmony with the intention to so surrender all interest, hence it is doubtful if the statute of 1820 (Gen. Stat., chap. 63, art. 1, sec. 22), prohibiting conveyance bytrustees unless the maker of the trust join therein, is applicable to this case. We are so treating the conveyance herein, and only refer to the doubtful application of the statute to show that the subsequent conduct of the parties was in accordance with the apparent intention on the part of the grantors to release all interest in the property. The purchasers (appellees) bought and paid for the property in like good faith, and erected valuable improvements under the belief that they had perfect title.
While the appellants and the appellees technically occupy the attitude of adverse claimants, yet the appellants in fact claim only through and under their ancestor, Anderson Halley, and we think can occupy no better attitude than he would occupy if he were living. The proof shows he lived .several years after the sale and conveyance by Beckner, and .approved of and consented to that sale. Indeed, had rented some of it from the vendee of Beckner. He stood by without objection and saw the appellees pay full value for the property, and expend their money on it in the erection of valuable improvements.
To apply the rule contended for by learned counsel for appellants, under such circumstances, would be most inequitable, and we would apply it only in pursuance of some inexorable law demanding it. There are a multitude of cases touching questions somewhat similar to the one under consideration, and while certain general rules are followed. it seems to be the purpose in all the cases to follow no rigid rule where to do so would be unjust and oppressive.
And what rule more just can be applied in this case than to limit and subordinate the right of the heir to that of his *445ancestor? Even the mortgage debt due by the ancestor to Taliaferro remains unsatisfied, and so also the Simpson lien. These were not even debts against Halley, but were liens on the land, and upon the plainest principles of equity the appellees would be entitled to be subrogated to the-creditor, Taliaferro, whose lien they satisfied, and this is effected by the chancellor as the judgment charges the land with the purchase price paid to- Beckner by the appellees.
On the cross-appeal of the appellees it is enough'to say, in the absence of the deed of trust, and on the rather indefinite recitation of its contents in the petitions, that we are not disposed to consider the question whether or not the conveyance to Beckner is within the statute named.
Under the principles announced in Ogden v. Grant, 6 Dana, 473, Prather v. McDowell, 8 Bush, 46, Reed v. Welsh, 11 Bush, 450, and other cases cited, it may well be doubted whether the makers of the deed of trust in this case needed to have joined in the conveyance made by Beckner. But the deed, as we have seen, is not before us, and we adopt the chancellor’s construction of it for that reason, under a strong inclination, we adknit, to hold the statute inapplicable.
Let the judgment on the original and cross-appeal be affirmed.