53-5-4. Several distinct objects--Some lawful and some unlawful--Validity of lawful parts. Where a contract has several distinct objects, one or more of which are lawful and one or more of which are unlawful in whole or in part, the contract is void as to the latter and valid as to the rest.
Source: CivC 1877, § 905; CL 1887, § 3529; RCivC 1903, § 1223; RC 1919, § 838; SDC 1939, § 10.0404.