
59 Cal.2d 445 (1963)
In re APOLONI GALES LORETIZO on Habeas Corpus.
Crim. No. 7234. 
Supreme Court of California. In Bank.  
Apr. 18, 1963.
 Arthur Lewis for Petitioner.
 Roger Arnebergh, City Attorney (Los Angeles), Philip E. Grey, Assistant City Attorney, and William E. Doran, Deputy City Attorney, for Respondent.
 McCOMB, J.
 Petitioner (hereinafter referred to as "defendant") seeks a writ of habeas corpus, claiming that he is *446 being illegally restrained of his liberty by the Chief of Police of the City of Los Angeles.
 Facts: Defendant was convicted of violating section 43.12.1 of the Los Angeles Municipal Code, which provides, in part: "It shall be unlawful for any person ... to have in his ... possession in the City of Los Angeles any writing, memoranda, betting marker, or betting sheet, upon which is recorded any bet or bets or wager or wagers ... upon the result ... of any ... contest of skill, speed or power of endurance of man or beast. ..."
 There was evidence that written on the palm of one of defendant's hands was what purported to be a memorandum of certain bets on a horse race.
 [1a] This is the sole question necessary for us to determine: Has the state adopted a general scheme for the regulation of the criminal aspects of wagering on horse races, to the exclusion of local regulations?
 Yes. [2] A municipal ordinance is invalid if it attempts to impose additional requirements in a field that has been preempted by the general law. (Cal. Const., art. XI,  11; In re Moss, 58 Cal.2d 117, 118 [2] [23 Cal.Rptr. 361, 373 P.2d 425]; Abbott v. City of Los Angeles, 53 Cal.2d 674, 682 [3 Cal.Rptr. 158, 349 P.2d 974]; Agnew v. City of Los Angeles, 51 Cal.2d 1, 5 [2] [330 P.2d 385].)
 [3] Whenever the Legislature has seen fit to adopt a general scheme for the regulation of a particular subject, the entire control over whatever phases of the subject are covered by state legislation ceases as far as local legislation is concerned. (In re Moss, supra, 118 [3]; Pipoly v. Benson, 20 Cal.2d 366, 371 [125 P.2d 482, 147 A.L.R. 515].)
 [4] In determining whether the Legislature intended to occupy a particular field to the exclusion of all local regulation, we may look to the "whole purpose and scope of the legislative scheme" and are not required to find such an intent solely in the language used in the statute. (In re Moss, supra, 118 [4]; Abbott v. City of Los Angeles, supra, 682 [9]; Tolman v. Underhill, 39 Cal.2d 708, 712 [6] [249 P.2d 280].)
 [1b] At the time of the commission of the alleged offense in the present case, section 337a of the Penal Code contained six subdivisions.
 It was directed toward every person who (1) engages in pool selling or bookmaking, (2) keeps or occupies certain structures with paraphernalia for the purpose of recording *447 any bet or wager upon the result of any "contest ... of skill, speed or power of endurance of man or beast ...," (3) receives, holds or forwards any money or other consideration so bet or wagered, (4) records or registers any such bet or wager, (5) permits certain structures to be used in any manner prohibited above, or (6) lays, makes, offers, or accepts any such bet or wager.
 In addition to imposing criminal sanctions, the state has specifically regulated the placing of bets on horse races and has declared certain betting practices to be illegal. (Bus. & Prof. Code,  19590- 19598.) Section 19595 of the Business and Professions Code provides that all forms of wagering or betting on the results of a horse race, other than pursuant to the statutory provisions, are illegal.
 The language of section 337a of the Penal Code shows clearly that the state had occupied the field with regard to the criminal aspects of wagering on horse races. Accordingly, a city ordinance attempting to make certain acts pertaining to wagering on horse races criminal is in conflict with the state law and is void.
 Defendant is ordered discharged from custody.
 Gibson, C. J., Traynor, J., Schauer, J., Peters, J., Tobriner, J., and Peek, J., concurred.
