The city of San Bernardino is a council-manager city with a full-time mayor elected by the city at large. The council consists of seven wards which are elected to four-year terms. The charter also created the San Bernardino City Unified School District, a legally separate agency, and the Board of Water Commissioners, a semi-autonomous, but legally indistinct commission, and a Board of Library Trustees. The City Manager is responsible for all department heads, except for the fire and police chiefs. Previously, the San Bernardino Municipal Code recognized a City Administrator.