California: Several urban counties (including Los Angeles, San Bernardino County, California, and San Diego) once maintained separate county marshal's offices, which served as court officers similar to U.S. marshals or constables, but mainly for the municipal court system. This system was abolished by state law in 2000, when the sheriffs of those counties announced that those counties' marshals would be absorbed into their departments. Therefore, many have been merged into or taken over by the local county sheriff's office, with the exceptions of Shasta County and Trinity County both located in Northern California. As of 2010, the marshal of San Benito County has been disbanded as an independent organization, with its employees becoming part of the sheriff's office. California also has fire marshals and deputy fire marshals, who may work for the State of California Fire Marshal's Office, or various county, city or special districts throughout the state. Fire marshals and deputy fire marshals are full-time sworn peace officers throughout the state, with powers of arrest statewide under section 830.37 of the California Penal Code. Their responsibilities include fire and arson investigation, bomb and explosives investigation, general law enforcement, as well as enforcement of the fire code.