The appeal from the judgment below presents this question :
"Where the homestead is allotted in a portion of a tract of land, the whole of which is subject to a prior outstanding deed of trust, and the remainder of the land in excess of the homestead is sold under execution and title conveyed to another, and thereafter the deed of trust is foreclosed and the entire tract of land sold, resulting in a surplus over the mortgage debt, is the debtor entitled to homestead in the entire surplus or only in his proportionate part thereof?
The decisions of this Court upon the various situations arising under the Homestead Law of North Carolina (Art. X, Const, of N. C.), which are pertinent to the case'at bar, seem to settle these principles of law:
*6141. A judgment debtor is entitled to have bis homestead allotted in an equity of redemption, that is, in land subject to a deed of trust or mortgage. Cheatham v. Jones, 68 N. C., 153; Cheek v. Walden, 195 N. C., 752, 143 S. E., 465; Farris v. Hendricks, 196 N. C., 439, 146 S. E., 77.
2. The homestead is allotted therein without regard to the mortgage encumbrance and as if it did not exist. Crow v. Morgan, 210 N. C., 153, 185 S. E., 668; Chemical Corp. v. Stuart, 200 N. C., 490, 157 S. E., 608.
3. Upon foreclosure of the mortgage or deed of trust and sale of his land, resulting in a surplus over the mortgage debt, the judgment debtor may assert his homestead right in such surplus. Farris v. Hendricks, supra; Cheek v. Walden, supra; Montague v. Bank, 118 N. C., 283, 24 S. E., 6; Hinson v. Adrian, 92 N. C., 121.
4. Where the homestead, subject to the prior lien of a mortgage or deed of trust, is laid off, and the excess over the homestead sold under valid execution by the sheriff, the purchaser steps into the shoes of the debtor and mortgagor as to such excess; that is, he becomes the owner of the land, subject to the mortgage or deed of trust. Parrott v. Hardesty, 169 N. C., 667, 86 S. E., 582; Hemphill v. Ross, 66 N. C., 477; Jordan v. Pool, 27 N. C., 105; 23 C. J., 746.
In Hemphill v. Ross, supra, it was said by this Court: “Charles F. McKesson purchased the legal right of redemption belonging to the mortgagor -at the execution sale, and the sheriff’s deed conveyed such estate to the purchaser and substituted him to the right of the mortgagor.”
Applying these principles of law,'it appears that when plaintiff obT tained her judgment and defendant’s homestead was laid off the homestead was allotted to the defendant in 25 acres of the land, valued without regard to the outstanding lien of the deed of trust, and that the excess over the homestead, 129 acres, also subject to the outstanding deed of trust, was sold for $350.00 (presumably bringing only the estimated value over the encumbrance) and purchased by the plaintiff. This had the effect of divesting the defendant of title to the 129 acres, and "of constituting the plaintiff the owner of the 129 acres subject to the deed of trust; that is, substituting her to all the rights and burdens of the trustor or mortgagor as to that portion of the land, and putting her in a position similar to that of a joint mortgagor with the defendant Little as to the entire tract of land. Hence it follows that when the entire tract was sold under the prior lien of the outstanding deed of trust resulting in a surplus, that surplus, nothing else appearing, belonged to the mortgagors, the plaintiff and the defendant as their respective interests might be determined. The surplus did not belong entirely to defendant Little, but only that proportionate part of it which the value of his remaining land bore to the value of the whole.
*615For illustration, if tbe trustee bad sold only tbe 129 acres, and that bad satisfied tbe mortgage debt, defendant’s homestead would have been undisturbed, subject only to tbe lien of plaintiff’s judgment. If tbe trustee bad sold only tbe 25 acres, and tbat bad paid tbe debt, defendant could not bave claimed a homestead in tbe 129 acres because tbat belonged to another, tbe plaintiff (Sash Co. v. Parker, 153 N. C., 130, 69 S. E., 1). If tbe 25 acres bad brought a surplus over tbe mortgage debt, defendant would bave been entitled to homestead in such surplus. If tbe 129 acres alone bad been sold and brought a surplus, this surplus would bave belonged to tbe plaintiff.
It was well said in Hinson v. Adrian, 92 N. C., 121, tbat “tbe policy of tbe law is to help tbe party entitled to homestead, as far as may be, without undue prejudice to tbe creditor entitled to bave bis debt paid in any ease.”
There is authority for tbe position tbat where lands are subject to a prior mortgage and subsequently docketed judgments, and tbe homestead is laid off and tbe excess over tbe homestead sold and purchased by another, tbe homesteader might require tbat tbe lands outside tbe bounds of tbe exemption be sold first, and tbat tbe homestead be not sold when it appears tbat tbe proceeds of tbe sale of tbe other lands will be sufficient to pay tbe debt. Cheatham v. Jones, 68 N. C., 153; Burton v. Spiers, 87 N. C., 87; Butler v. Stainbach, 87 N. C., 216; Hinson v. Adrian, supra. Tbe force of these authorities, however, may not be held to support defendant’s contention tbat be is entitled to homestead in tbe entire surplus. Here tbe defendant made no effort to avail himself of this right, if such be bad, before tbe sale, nor does it appear tbat tbe sale of a portion of tbe land would bave been sufficient to satisfy tbe mortgage. Having offered no objection to tbe sale of tbe entire tract, bis own portion as well as tbat of tbe plaintiff, be would be deemed to bave waived bis right to do so and would bave no right superior to tbat of the plaintiff, now, with respect to tbe proceeds. In Leak v. Gay, 107 N. C., 468, 12 S. E., 261 (later overruled on another point), it was held tbat tbe homesteader could require tbe application of tbe surplus from the sale of land in excess of tbe homestead in exoneration of tbe homestead from a junior mortgage, but tbat surplus was derived from tbe sale of bis own land and not another’s.
None of tbe cases cited constitute authority for the denial of tbe ordinary rights of tbe purchaser and owner of land, outside of tbe bounds of tbe exemption, which has been sold and conveyed to him by tbe sheriff under execution against tbe debtor. Tbe sale of all tbe land having been consummated and a surplus obtained arising from both tracts, it is not perceived bow tbe defendant can now properly claim the right of homestead in tbe entire surplus, or invoke tbe application *616of the equitable principle of exoneration. Equity would not permit the defendant to have the fund obtained from the sale of plaintiff’s 129 acres of land applied first to the payment of his own debt in exoneration of his homestead right, at the expense of plaintiff’s right to that portion of the surplus which was derived from sale of her land.
So, upon reason and authority, we conclude that there was error in the judgment as rendered, and that defendant was entitled to homestead only in that portion of the surplus fund in excess of the mortgage debt which was derived from the sale of his own portion of the land. As this essential fact has not yet been judicially determined, the cause is remanded for proper finding as to the respective values of the two portions of the land owned by plaintiff and defendant at the time of the sale, and for judgment in accordance with this opinion.
Error and remanded.