No action may be commenced by the former owner or by any person claiming under him or her, to recover possession of any real property which has been sold and conveyed by deed for nonpayment of taxes or to avoid the deed, unless action is commenced within one hundred eighty days after the recording of the deed. No defense may be interposed or maintained by the former owner, or by any person claiming under him or her, in any action brought to quiet the title in the grantee in any tax deed, or by any person claiming under the grantee, in any tax deed issued and delivered by any treasurer unless the defense is interposed within one hundred eighty days after the recording of the tax deed in the office of the register of deeds in which the real property described in the tax deed is located.
SDCL 10-25-44