If fraud has been perpetrated in connection with any proceeding or in any statement filed under this code or if fraud is used to avoid or circumvent the provisions or purposes of this code, any person injured thereby may obtain appropriate relief against the perpetrator of the fraud or restitution from any person (other than a bona fide purchaser) benefitting from the fraud, whether innocent or not. Any proceeding must be commenced within two years after the discovery of the fraud, but no proceeding may be brought against one not a perpetrator of the fraud later than five years after the time of commission of the fraud. This section does not limit remedies relating to fraud perpetrated on a decedent during the decedent's lifetime which affect the succession of the decedent's estate.
SDCL 29A-1-106