It is unnecessary to recite or refer to any of the particular averments of the answer of defendant as bearing upon the question of the legal correctness of the order vacating the injunction, inasmuch as our opinion proceeds upon the facts above enumerated, taken from the judge’s statement of the case and from the allegations of the complaint not controverted, or at least not denied from any knowledge to the contrary on the part of the defendant.
The plaintiff, if the land was purchased for her and to be paid for by her, and if the same had been paid for in whole or part by her means, had an equity on extinguishing the *330purchase money to have a trust declared of the legal title to her use and to have a conveyance of the same to her in fee. Adams’ Eq., 33, 34; Dula v. Young, 70 N. C., 450; Lyon v. Akin, 78 N. C., 258. Here, the judge finds as a fact that the payments on the purchase money secured by the mortgage, so far as made, were made by the plaintiff as agreed on by means furnished by her or derived from her separate property. And thereby an equity arose to the plaintiff pro tanto her payments, and will arise in totoon full payment, to have the trust declared and enforced in her favor against the defendant, the mortgagee of the legal estate; and this equity to redeem and have the title is such an interest as entitles her by the well established principles of equity to be heard in its assertion on her original right, accruing from her money paid, independently of any interest she may have as cestui que trust in the equity of redemption eonvejmd by D. C. Cunningham to the two sons in trust for plaintiff in 1876. 2 Spence’s Eq., 660.
Our case then is the same as a bill in equity constituted in court by a person competent to redeem, and against the mortgagee holding the legal title; but defendant combats plaintiff’s right and justifies the vacation of the injunction on the ground that if he is allowed to sell .the supposed equitj of redemption of D. C. Cunningham, the purchaser will acquire only such equity ashemayhavein subordination to the older and superior equity of the plaintiff, if such she have; and in such case he insists a court of equity would not have interfered, nor ought our present superior courts to restrain his execution, but leave the purchaser thereunder and the plaintiff to settle their conflicting equities by subsequent action.
The position of defendant is certainty correct, that the court ought not, as assuredly it would not, enjoin a sale under defendant’s execution, if under it merely a case of conflict of legal titles was created, for the reason as held by *331us in the case Southerland v. Harper, ante, 200. A court of law formerly by ejectment, and our present superior courts,, by action to recover real property under the code, would be perfectly competent to pass upon such titles. But the claim of the plaintiff' to redeem is a mere- equity and this action is brought for its assertion, and now if defendant against whom the right is claimed is allowed to sell the supposed equity of redemption of D. C. Cunningham in the land,, the purchaser under his sale can at-most only claim an equity, and thus a new rival interest will be created by a party to the cause outside of the cause, complicating the matters in litigation and obstructing the jurisdiction of the court. We understand the rule to be that when a cause is duly constituted in a court of equity, that court will make a complete and final determination of all rights affecting the subject matter of the action, and to this end will require of the parties to set up all their rights, whether equitable or legal, so as to be bound by the decree, and will restrain any act of a party tending-needlessly to increase the complications of the controversy. And hence in the present action it was proper to have compelled the defendant already before the court to set up his claim in the alleged equity of redemption of D. C. Cunningham under the lien of his judgment, and thus to have prevented an obstruction to the court.
The propriety of restraining a sale under the circumstances of this case is not only commended by considerations of conscience, but it is fully established and sanctioned by the authority of the case of Dockery v. French, 69 N. C., 308, which is similar to our case in all its features. There, one Morrisey executed a deed conveying land to French as trustee to secure a creditor his debt an'd to indemnify him against a suretyship for the trustor, and after the debts were paid as claimed by Morrisey, he sold and conveyed by deed to Dockery without having had a reconveyance of the legal *332title from French, and subsequently to this the trustee having advertised to sell the land, Dockery brought his action to redeem, and for the conveyance of the legal estate; and pending the action the sale under the trust was enjoined., and this court held it proper on the ground that by it no harm would result to any one, and without it much mischief anight ensue to the party claiming the right to redeem.
We think therefore the court should not have dissolved the injunction but continued it to the'hearing, as it will be perfectly competent to the court at the end to adjudge between the equity claimed by the plaintiff and that claimed by the defendant by virtue of his judgment lien on the supposed equity of redemption of D. C. Cunningham; provided however, that the husband of the plaintiff and the two sons to whom he conveyed the equity of redemption in 1876, shall be brought in as parties so as to have a final de-terminaron of all rights.
There is error and this will be certified that the injunction may be continued and the cause in other respeets conducted in conformity to this opinion.