California Code
CHAPTER 3 - Conditional Obligations
Section 1441.

1441. A condition in a contract, the fulfillment of which is impossible or unlawful, within the meaning of the Article on the Object of Contracts, or which is repugnant to the nature of the interest created by the contract, is void.

(Enacted 1872.)