South Dakota Codified Laws
Chapter 03 - Annulment Of Marriage
Section 25-3-3 - Legitimacy of children after annulment for former marriage or mental illness.

25-3-3. Legitimacy of children after annulment for former marriage or mental illness.
Where the marriage is annulled on the ground that a former husband or wife was living, or on the ground of mental illness, children begotten before the judgment are legitimate and succeed to the estate of both parents.

Source: SDC 1939, ยง14.0603.