Cal. Veh. Code § 23566
(c) If a person is convicted under subdivision (b), and the offense for which the person is convicted occurred within 10 years of four or more separate violations of Section 23103, as specified in Section 23103.5, or Section 23152 or 23153, or any combination of these violations, that resulted in convictions, that person shall, in addition and consecutive to the sentences imposed under subdivision (b), be punished by an additional term of imprisonment in the state prison for three years.
The enhancement allegation provided in this subdivision shall be pleaded and proved as provided by law.