This is an appeal from a judgment of the district court of Morton county denying a writ of mandamus and dismissing the petition. The petition prayed the issuance of a writ directed to the defendant, Chas. Herman, sheriff of Oliver County, requiring him to execute sheriff’s deeds to the relator, covering certain lands which the relator claimed to have redeemed from execution and foreclosure sales in circumstances that will appear in the following brief statement of the essential facts:
One Charles L. Wright was the owner of 160 acres of land, which he mortgaged in the year 1909 by executing two first mortgages on different parcels thereof, which mortgages were subsequently assigned to one Began. He also gave a second mortgage upon a 120-acre tract, which was later assigned to one Eobert Dunn.
In February, 1913, the Mandan Mercantile Company levied an ■attachment against the land, and in December of the same year sold the same by virtue of a special execution in satisfaction of a judgment obtained by the mercantile company against Wright. A sheriff’s certificate of sale was duly issued to the judgment creditor. On March 25, 1913, the Forest Lake State Bank, of Forest Lake, Minnesota, also levied an attachment against the same land as the property of Wright, and in February of the following year a judgment in its favor was duly obtained against Wright. On January 11, 1915, Began, the assignee of the first mortgage, caused 120 acres of the land to be sold under the mortgage, and a sheriff’s certificate was duly issued to him. On April 18, 1914, Began also caused the remaining parcel of 40 acres to be sold under his first mortgage, and a sheriff’s certificate of sale as to this tract was also issued to him. Sheriff’s deeds have never been issued upon any of these certificates of sale.
The Mandan Mercantile Company assigned its certificate of execution sale to one Parsons. Eobert Dunn, the owner of the second mortgage upon the 120 acre tract, redeemed in due time from the first-mortgage foreclosure sale as to this tract, and Parsons redeemed in due time from the first-mortgage foreclosure sale of the 40-acre tract. Eobert Dunn assigned his certificate of redemption, together with his second mortgage, to the Mandan Mercantile Company, and, within sixty days after the redemptions effected by him and by Parsons, the Forest Lake State Bank, subsequent judgment creditor of Wright, attempted to redeem *182by paying to tbe sheriff the amount necessary to discharge all liens in favor of the prior redemptioners. The sheriff executed to the bank, the relator herein, a certificate of redemption, but refuses to issue deeds, owing to the refusal of the mercantile company and Parsons to receive the redemption money and to their claim of right to deeds pursuant to the mortgage and execution sales.
More than one year having elapsed after the execution sale before any attempt was made to redeem therefrom, it is contended on behalf of the certificate holders that they are entitled to sheriff’s deeds, even though they had assumed the position of redemptioners in order to protect their interests from the consequence of the foreclosure of prior mortgages. The contrary contention of the relator is based upon the proposition that, when one becomes a redemptioner for one purpose, he is a redemptioner for all purposes; and, in addition, the relator relies upon the generally accepted doctrine that redemptions are favored to the end that the property of the debtor may be made to pay as many of his debts as it will. However strongly these principles may appeal to the sense of justice, and however strong the temptation may be to regard them as controlling in particular cases, we cannot lose sight of the fact that the legislature has seen fit, and we dare say wisely, to prescribe definite rules of limitation governing redemptions. These rules are as binding upon the courts as any other within the proper sphere of legislation, -and they must be applied according to their true intention in all cases to which they are applicable. We are mindful, however, that the statutes governing redemptions do not wholly remove the subject-matter of redemption from the operation of the doctrines of equity, and that, in any particular case where a ground for equitable relief is shown to exist, the appropriate decree will not be withheld because of encroachment upon the literal meaning of a statute. This court has, in the exercise of its equitable jurisdiction, permitted redemptions where- the statutory period has elapsed. Hedlin v. Lee, 21 N. D. 495, 131 N. W. 390; Wade v. Major, — N. D. —, — N. W. —. See also Murphy v. Teutsch, 22 N. D. 102-104, 35 L.R.A.(N.S.) 1139, 132 N. W. 435, Ann. Cas. 1913E, 1185, but circumstances were shown to be present warranting equitable relief.
In the case before us we must first ascertain the meaning of the statute, to determine whether or not a fair construction warrants the issu*183anee of the writ asked for. The sections of the statute bearing upon the question are as follows:
Comp. Laws 1913, § 7753. “Property sold subject to redemption, or any part sold separately, may be redeemed in the manner hereinafter provided by the following persons, or their successors in interest:
“1. The judgment debtor, or his successors in interest.
“2. A creditor having a lien by judgment, mortgage or otherwise on the property sold or on some share or part thereof, subsequent to that on which the property was sold.
“The persons mentioned in the second subdivision of this section are in this chapter termed redemptioners.”
Section 7754 provides: “The judgment debtor or redemptioner may redeem the property from the purchaser within one year after the sale.
Section 7755, in so far as applicable, is as follows: “If the property is so redeemed by a redemptioner, another redemptioner may, even after the expiration of one year from the day of sale, redeem from such last redemptioner; provided, the redemption is made within sixty days after such last redemption.”
Section 7757 reads: “If the property is not redeemed according to law, the purchaser or his assignee or the redemptioner, as the case may be, is entitled to a sheriff’s deed of the property and it shall be tbe duty of the sheriff to execute and deliver such deed immediately after the time for redemption has in each case expired.”
Section 7763 reads in part as follows: “Upon the expiration of the period for redemption the proper officer must make the purchaser, or the party entitled thereto, a deed of real property sold. The deed . . . shall vest in the purchaser or other party as aforesaid as good and perfect a title ... as was vested in the debtor at or after the time when such real property became liable to the satisfaction of the judgment.”
The petitioner must fail in this action unless it is a redemptioner, or, if not such redemptioner, unless there is some equitable reason for extending the period of redemption in its favor. In determining whether ■or not, under the statutes above quoted, the petitioner is a redemptioner and as such entitled to redeem from the mortgage foreclosure sales, we must look to the effect of the failure to redeem from the excution sale. Section 7753 names two classes of persons who can redeem. The first *184is the judgment debtor or his successors in interest. The second comprises creditors having liens, who are termed redemptioners. The petitioner claims its right to redeem by virtue of being a creditor having a lien by judgment, but under the conceded facts in this case more than a year had elapsed after the execution sale under the Mandan Mercantile Company judgment before any attempt was made on behalf of the relator to redeem from the prior mortgage-foreclosure sales. There having been no redemption from the execution sale by the judgment debtor or by any redemptioner within the period of a year as prescribed by § 7754, the right to redeem from such sale was terminated; and any judgment creditor who did not avail himself of the right to redeem within this period lost the lien of his judgment as against the interest of the judgment debtor in the land sold. This interest passed completely to the purchaser at the execution sale, and the only thing that remained to be done was the ministerial act on the part of the sheriff of executing the formal instrument of transfer. After the failure to redeem from the execution sale for the period of a year, it is idle to say that the judgment creditor continued to have lien. There was m> interest of the judgment debtor to which such lien could attach. After the expiration of a year from the execution sale without a redemption, the relator could no more redeem from the foreclosure sale than could the original debtor himself. The statute equally precluded both. We conclude that the lien of the relator’s judgment was extinguished when the equity of redemption was terminated, and that thereafter the relator was not a redemptioner. See Parker v. Dacres, 130 U. S. 43, 32 L. ed. 848, 9 Sup. Ct. Rep. 433; Stevens v. Ferry, 48 Fed. 7; Cummings v. Pottinger, 83 Ind. 294; Diamond v. Turner, 11 Wash. 189, 39 Pac. 379.
Appellant argues at considerable length that the above conclusions are unwarranted in this case, because of the fact that the sheriff’s deed has not been given. The contention is that, since the sheriff’s deed is required to transfer the title of the debtor, such title remains in him until the deed is executed and delivered in conformity with the statute. We thing this argument entirely untenable for the reason that the legal title of the debtor is unavailing to him for any purpose after the period of redemption prescribed by the statute has elapsed. The law makes it the ministerial duty of the sheriff to execute the deed immediately upon the expiration of the period for redemption. This being true, the sub*185stantial rights of the debtor and of the various redemptioners must be judged as though this ministerial act had been performed. Liens do not inhere in mere naked legal titles, they attach to the substantial interests of the owners of property. If the debtor could no longer redeem, of what value is a legal title still reposing in him which could be transferred from him by the mere ministerial act of a public officer 1
In support of the contention of the appellant many authorities are cited, holding that a purchaser at an execution sale acquires only a lien. A careful examination of these authorities discloses that none of them goes to the extent of holding that a certificate holder can be compelled to permit a redemption after the lapse of the statutory period. The case principally relied upon is Robertson v. Van Cleave, 129 Ind. 217, 15 L.R.A. 68, 26 N. E. 899, 29 N. E. 781. In this case the question arose as to the capacity in which the holder of a sheriff’s certificate was entitled to redeem, and the court held that he was entitled to redeem as a lien holder, but not as owner. “His character is not,” said the court, “transformed into that of an owner until the sale is consummated by the execution of a deed.” Upon a rehearing of the ease, the court went more at length into the question of the character of the interest which the holder of the sheriff’s certificate held after the period of redemption had expired. In the opinion upon rehearing found in 29 N. E. p. 781, the court said: “The expiration of the year allowed for redemption enlarges his [the certificate holder’s] rights, in this, — that to his lien on the land is added an equitable interest in the land, which his act alone may ripen into a title. His right to a deed, instead of being contingent upon the action of others, has become absolute, and depends solely upon his own action. If he has done nothing to waive his right, no act of another can thereafter, without his consent, deprive him of it, as might have been done by redemption before that time. If he exercises his right, and demands and receives from the sheriff a deed, he thereby acquires a legal title.” It is clear from the above quotation that the supreme court of Indiana regarded the right of the debtor to redeem as. terminated upon the expiration of the statutory period. Instead of the authority supporting the appellant’s contention as to the extension of the right to redeem, it rather supports the opposite view. As said above, the court holds only that the certificate holder must redeem as a lien holder. If Parsons, in the instant case, had not redeemed as a lien *186holder, the appellant might have invoked the rule of the Indiana case to attack the validity of the redemption.
In a later Indiana case, Hubble v. Barry, 180 Ind. 513, 103 N. E. 328, the holder of a sheriff’s certificate, issued in 1897, made no demand for a deed, and consequently no deed was executed for more than ten years after the issuance of the certificate. The court, in considering whether the issuance of the certificate merely continued the lien of the judgment for which the land had been sold, or operated to give to the holder thereof an estate in the lands upon the expiration of the period for redemption, held that the holder of the sheriff’s certificate was invested with much more than the equivalent of the judgment lien. The running of the Statute of Limitations against the judgment lien was held not to affect the interest acquired and held under the sheriff’s certificate. The court relied upon the case of Robertson v. Van Cleave, supra, and especially emphasized that feature of the opinion wherein it was held that the holder of the certificate acquired "an equitable estate in the property."
In the case of Past v. Rennier, 30 N. D. 1, 151 N. W. 763, this court has at least strongly intimated, if not directly held, that the failure to redeem within the statutory period for redemption excludes one from any interest in the property sold, and that a lien holder who refrains from exercising the right to redeem within the period prescribed by statute ceases to be a redemptioner. In that case, however, the sheriff’s deed was issued immediately upon the expiration of the period for redemption, so the appellant is correct in his contention that the ease is not entirely analogous to the instant case.
In Minnesota it has been held in several cases that the failure to redeem within the period of time fixed by the statute cuts off junior liens and terminates the rights of junior lien holders as redemptioners. Bartleson v. Thompson, 30 Minn. 161, 14 N. W. 795; Lowry v. Akers, 50 Minn. 508, 52 N. W. 922; White v. Rathbone, 73 Minn. 236, 75 N. W. 1046. The appellant concedes that under the rule of the Minnesota cases its right to redeem terminated upon the expiration of the statutory period, but contends that this rule is inapplicable under statutes similar to ours, requiring the execution of a sheriff’s deed to -convey the title of the debtor. In the Minnesota statutes (General Statutes of Minnesota 1913, § 7942) it is provided that the certificate of *187sale shall itself operate as a conveyance upon the expiration of the time for redemption. In our opinion there is no substantial difference in this respect between the statutes of Minnesota and those of North Dakota. In this state it is the ministerial duty of the sheriff to execute a deed to effect a formal transfer of the naked legal title, and the equities of interested parties can be properly determined only by regarding as done those official acts which the law requires to be done. It is true that the holder of the sheriff’s certificate may, even after the period for redemption has expired, permit redemption to be made, but this rests wholly in the discretion of the holder of the certificate. He cannot be compelled to permit redemption after the statutory period has elapsed; although he might be willing to accept the full amount of his claims and to assign the certificate evidencing his right to a deed. In this case the holder of the certificate of execution sale refuses to receive- the redemption money and to assign his certificate. This being true, it is the duty of the sheriff to execute the deed to the certificate holder rather than to the relator.
The argument is further advanced on behalf of the appellant that, since Dunn and Parsons have redeemed from the mortgage-foreclosure sales as redemptioners, they must be regarded as redemptioners for all purposes. Granting the soundness of this argument, before it can avail the -appellant it must be in a position to take advantage of the fact that the redemption in these circumstances rendered the interest of the redemptioners so redeeming subject to the like interests of other redemptioners. The principle invoked has nowhere been applied more liberally, we believe, than in the case of North Dakota Horse & Cattle Co. v. Serumgard, 17 N. D. 466, 29 L.R.A.(N.S.) 508, 138 Am. St. Rep. 717, 117 N. W. 453. But in that case it was invoked to support the right of •one who was a redemptioner at the time of the assumption of that relationship by another, upon whose action the right of the redemptioner was predicated. The court was called upon to determine the validity of a redemption alleged to have been effected by one Serumgard. The property -had been sold upon the foreclosure of a fifth mortgage, the sale ■occurring on March 26, 1904. A sixth mortgage was held by one Williams, and a seventh mortgage, executed on the 3d day of March, 1905, was held by Serumgard. On March 25, 1905, Williams redeemed as a redemptioner. On April 25, 1905, Sannan, the holder of the prior mortgages not affected by the foreclosure, redeemed as a redemptioner, and *188•within sixty days from the date of this redemption, to wit on June 22, 1905, Serumgard redeemed as a redemptioner under his seventh mortgage. It clearly appears from these facts that, at the time of Sannan’s redemption, Serumgard was a lawful redemptioner, and Sannan, having redeemed in that capacity, was not permitted to assume subsequently an attitude that would prejudice the right of Serumgard to redeem within the sixty days given by the statute. This case does not go to the extent of holding that one who assumes the position of a redemptioner must permit redemptions by those who, at the time of the assumption of such attitude, had ceased to be redemptioners. The decision in the Serumgard case must rest upon the principle of estoppel, and only those can invoke the principle who have acted in reliance upon the relation assumed by the one who styled himself a redemptioner. Surely one whose lien was dead at the time cannot be said to have acted upon the assumed relationship, or to have been prejudiced in any way. Appellant not being classed as a redemptioner, as above indicated, is in no position to complain if not recognized as such.
Our confidence in the correctness of the conclusions reached is strengthened when we consider the possible effect of adopting the rule contended for by appellant. Confessedly appellant’s whole case rests upon the fact that the sheriff’s deed was not issued to the purchaser at the execution sale. This court is asked to say that, in all cases where this mere ministerial act is not’ performed, the rights of parties in whose favor it is required to be performed will be rendered subject to the subsequent claims of those who have not seasonably exercised the right to redeem. By force of the doctrine contended for, dilatory creditors would be enabled to speculate at the expense of one having a completely vested' interest in the property. We are satisfied that the statutes governing redemptions are not susceptible to the construction contended for by appellant. If appellant loses, it loses by reason of its failure to exercise the reasonable and proper degree of vigilance necessary to secure its rights and to insure their timely protection. We are impelled to conclude that, under a fair construction of the statutes governing redemptions, regarding them in a light most favorable to both debtors and creditors interested in redeeming, the petitioner has not brought itself within their provisions so as to warrant the issuance of the writ prayed for. The writ must be denied, therefore, unless the *189petitioner has set forth equitable reasons for being permitted the rights' of a redemptioner.
We have carefully examined the petition and the evidence submitted, and we find no reason or facts set forth that would warrant the extension of the right of redemption to the petitioner upon equitable grounds. Thus, the petitioner wholly fails in its attempt to reach the property in question.
It may well be doubted whether, in an application for a writ of mandamus, the inquiry should extend further than is1 necessary to determine the bare legal aspect of the petitioner’s right, but we have preferred to review the merits of the issues presented to the trial court. If the inquiry is confined to the questions proper for the consideration of the sheriff in determining to whom deeds should issue, the answer to the petitioner’s demand is found in the statute making it the duty of the sheriff “to execute and deliver such deed immediately after the time for redemption has in each case expired.” Under this statute the duty was owing to the holder of the certificate of execution sale, from which there was no redemption.
The judgment is affirmed.
Grace, J. I dissent.