The debtor may not be required to pay more to effect a redemption than the purchase price, with interest from the day of sale, at the same rate as provided in the original instrument on which the judgment is based, despite the fact that the debtor seeks to redeem from a redemptioner. If the debtor redeems, the effect of the sale is terminated and the debtor is restored to the estate. On a redemption by the debtor, the person to whom the payment is made shall execute and deliver to the debtor a certificate of redemption acknowledged or proved before an officer authorized to take acknowledgments of conveyances of real property. The certificate must be recorded in the office of the county recorder of the county in which the property is situated and the county recorder shall note that record in the margin of the record of the certificate of sale. If the debtor redeems from a redemptioner who, to effect redemption, has paid liens on the property other than for taxes or assessments, the redemptioner is subrogated to all the rights of the former holders of those liens, and the recording of written notice of that redemption is notice of the rights of that redemptioner in and to all the liens the redemptioner holds as equitable assignee as fully as if formal written assignments had been recorded.
N.D.C.C. § 28-24-06