Cal. Harb. & Nav. Code § 668
(b)
(1)
(3)
(c)
(f) Any person convicted of a second or subsequent violation of subdivision (b), (c), (d), or (e) of Section 655 within seven years of the first conviction of any of those subdivisions or subdivision (f) of Section 655, or any person convicted of a violation of subdivision (b), (c), (d), or (e) of Section 655 within seven years of a separate conviction of subdivision (a) or (b) of Section 192.5 of the Penal Code, or a separate conviction of Section 23152 or 23153 of the Vehicle Code or Section 191.5 or subdivision (a) of Section 192.5 of the Penal Code, when the separate conviction resulted from the operation of a motor vehicle, shall be punished by a fine of not more than one thousand dollars ($1,000) or imprisonment in a county jail for not more than one year, or by both that fine and imprisonment. If probation is granted, the court, as a condition of probation, may require the person to do either of the following, if available in the county of the person’s residence or employment:
(h)