Cal. Civ. Code § 1599 : CALIFORNIA CIVIL CODE — OBLIGATIONS — CONTRACTS — NATURE OF A CONTRACT — OBJECT OF A CONTRACT — One object lawful and one object unlawful TEXT PDF Where 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. Ca. Civ. Code § 1599 Enacted 1872.