Business and Professions Code § 19662
ARTICLE 11. Penalties
Any person who bets upon the results of a horse race except by a parimutuel method of wagering conducted by a person licensed under Article 4 of this chapter is punishable as provided in the Penal Code.