California Code CHAPTER 4 - Object of a Contract Section 1598.
1598. Where a contract has but a single object, and such object is unlawful, whether in whole or in part, or wholly impossible of performance, or so vaguely expressed as to be wholly unascertainable, the entire contract is void.