When a contract has several distinct objects, of which one at least is lawful and one at least is unlawful in whole or in part, the contract is void as to the latter and valid as to the rest.
N.D. Cent. Code § 9-04-04
Several objects, part unlawful, contract void
Official source: North Dakota Legislative Branch. Reproduced from public-domain North Dakota statutes; confirm against the official source for the current text. Not legal advice.