The sheriff shall prevent and suppress any affrays, breaches of the peace, riots, and insurrections that come to his or her knowledge, and investigate public offenses which have been committed. The sheriff may execute all orders of the local health officer issued for the purpose of preventing the spread of any contagious or communicable disease.
Ca. Gov. Code § 26602