(a) Where real estate, or any interest therein, is sold, it may be redeemed by:
(1) Any debtor, including any surety or guarantor.
(2) Any mortgagor, even if the mortgagor is not personally liable for payment of a debt.
(3) Any junior mortgagee, or its transferee.
(4) Judgment creditor, or its transferee.
(5) Any transferee of the interests of the debtor or mortgagor, either before or after the sale. A transfer of any kind made by the debtor or mortgagor will accomplish a transfer of the interests of that party.
(6) The respective spouses of all debtors, mortgagors, or transferees of any interest of the debtor or mortgagor, who are spouses on the day of the execution, judgment, or foreclosure sale.
(7) Children, heirs, or devisees of any debtor or mortgagor.
(b) All persons named or enumerated in subdivisions (a)(1) through (a)(7) may exercise the right of redemption granted by this article within 180 days from the date of the sale for residential property on which a homestead exemption was claimed in the tax year during which the sale occurred, or within one year from the date of the sale for all other property.
(c)(1) When any judgment creditor or junior mortgagee or any transferee of a judgment creditor or a junior mortgagee redeems under this article, all recorded judgments, recorded mortgages, and recorded liens having a higher recorded priority in existence at the time of the sale are revived against the real estate redeemed and against the redeeming party and such shall become lawful charges pursuant to Section 6-5-253(a)(4) to be paid off at redemption.
(2) Once any lienholder, recorded judgment creditor, or junior mortgagee is paid the amount of the person's debt and any accrued interest and other contractual charges, the person has no further right to redeem.
(3) Any lienholder, recorded judgment creditor, or junior mortgagee with a lower recorded priority may redeem from those having a higher recorded priority who have redeemed.
(d) When any debtor, mortgagor, their transferees, their respective spouses, children, heirs, or devisees redeem, all recorded judgments, recorded mortgages, and recorded liens in existence at the time of the sale are revived against the real estate redeemed and against the redeeming party and further redemption by some party other than the mortgagor or debtor under this article is precluded.
(e)(1) When any debtor or mortgagor conveys his or her interest in property subject to a mortgage prior to sale wherein he or she is released from liability for the debt, his or her right of redemption under this article is terminated. In the same manner, the right of redemption granted under this article to the spouses, children, heirs, or devisees of debtors or mortgagors terminates when the debtors or mortgagors have conveyed their interests in the property and are released from liability for the debt.
(2) However, where debtors or mortgagors have conveyed their interests in the property but remain liable on the debt and are debtors at the date of the foreclosure sale, the debtors and mortgagors retain their right of redemption under this article and in the same manner, their spouses, children, heirs, or devisees continue to be entitled to the right of redemption under this article.
(f) A redemption made by any person under this article, other than the debtors or mortgagors and their respective spouses, children, heirs, or devisees, shall preclude any further redemption by the person.
(g) Subject to subsection (e), a mortgagor and debtor have priority over any other redeeming party and a mortgagor has priority over a debtor.
(h) The mortgagee who forecloses residential property on which a homestead exemption was claimed in the tax year during which the sale occurred shall give notice to the mortgagor who signed the mortgage in substance as follows: "Alabama law gives some persons who have an interest in property the right to redeem the property under certain circumstances. Programs may also exist that help persons avoid or delay the foreclosure process. An attorney should be consulted to help you understand these rights and programs as a part of the foreclosure process." This notice shall be mailed to the mortgagor at the address of the property subject to foreclosure at least 30 days prior to the foreclosure date by certified mail with proof of mailing. This notice also shall be included in the notice required pursuant to Section 35-10-13. For foreclosed residential property on which a homestead exemption was claimed in the tax year during which the sale occurred, the period of time during which a right of redemption may be exercised shall not begin until notice is given in accordance with this subsection; provided that under no circumstances may a right of redemption be exercised later than one year after the date of foreclosure. A defective notice, or the failure to give notice, will not affect the validity of the foreclosure, including the transfer of title to the property. Possession or production of the proof of mailing of this notice shall constitute an affirmative defense to any action related to the notice requirement. All actions related to the notice requirement must be brought within one year after the date of foreclosure or the action shall be barred.