Cal. Gov't Code § 28022
Counties containing a population of 4,000,000 and over are counties of the first class.