VaNderburgh, J.'
When the judgment in favor of Barager against Cochran was rendered, the latter was in possession of 92 acres of land lying in one body, 80 acres of which he was entitled to claim as his homestead. Prior to the entry of the judgment, the entire tract had been mortgaged by Cochran to one Eichardson, who was not a *210party to the action in which the judgment was obtained, and which action was to enforce a mechanic’s lien for labor and materials furnished in erecting a building upon the land, under a contract with Cochran, which lien antedated the mortgage. The plaintiff is the grantee of the purchaser upon the foreclosure sale had under the mortgage referred to. The amount due Barager from Cochran was adjudged a specific lien upon 40 acres, which was described as an irregular tract, and so carved out as to include the building upon which the lien was claimed, and leave 52 acres in a compact form, including the residence of Cochran, as his homestead. The latter was under the statute entitled to select 80 acres as his homestead, and, upon his default or failure to make such selection, it might have been made under the direction of the court, and fixed and declared in the judgment in the action to foreclose the lien; but it would then be the duty of the court, or the proper officer, to select as exempt 80 acres, as allowed by law, the entire tract exceeding that limit. Kelly v. Baker, 10 Minn. 124, (154;) Coles v. Yorks, 31 Minn. 213, (17 N. W. Rep. 341;) Same v. Same, 36 Minn. 388, (31 N. W. Rep. 353;) North Star Iron Works Co. v. Strong, 33 Minn. 1, (21 N. W. Rep. 740.) But whether Cochran consented to, or was bound by, the judgment or not, the mortgagee, not being a party, certainly was not; and since the judgment could not lawfully be made a lien upon the homestead, the mortgagee acquired the homestead premises exempt therefrom, to the full limit of 80 acres; and if the building upon which the labor was performed was situated on the exempt 80 acres, no mechanic’s lien could be enforced at all in this case. As before stated, while Cochran held the title and occupied the premises, he was entitled to make his selection of 80 acres out of the 92-aere tract; but no such selection having been made by him, or by the court, or under its direction, undoubtedly his grantee, who has succeeded to his right, is entitled to make such selection to the full extent of 80 acres. The plaintiff is not bound by the judgment, which cannot be enforced against the premises in its present form, and the sale thereunder was rightly enjoined. Such judgment could not be modified upon motion in this action.
Judgment affirmed.