State-sponsored games of chance, such as lotteries, have proven to be an effective way to raise tax revenue. California operates a state lottery and participates in nation-wide "mega-lotteries," while several Native American reservations within the state operate privately owned casinos. What all of these have in common is their regulation through state laws, which define the manner in which lotteries and casinos may be operated. For instance, California law requires 34 percent of lottery revenue to be spent on public education. This section covers California laws pertaining to the state lottery, casinos (allowed only on Indian reservations), and gambling in general.