California Code
TITLE 4 - UNLAWFUL CONTRACTS
Section 1668.

1668. All contracts which have for their object, directly or indirectly, to exempt any one from responsibility for his own fraud, or willful injury to the person or property of another, or violation of law, whether willful or negligent, are against the policy of the law.

(Enacted 1872.)