Whereas the district attorney's office is, as is the case throughout the United States, charged with prosecuting crimes (i.e. has the equivalent function of a Prosecutor's Office in other countries), the city attorney provides legal services to the mayor, the Board of Supervisors, and the rest of the city and county administration; examines surety bonds, contracts and ordinances; and represents the city and county administration in civil claims, formally as a representative of the people of the State of California.
The city attorney is assisted by a number of assistant city attorneys.
History
Prior to 1856, the City of San Francisco had a city attorney but no district attorney, while the County of San Francisco (encompassing the territory of the city and more) had a district attorney but no county attorney.[1] After the city-county consolidation in July 1856, the incumbent city and district attorneys continued as "attorney and counsellor" and "district attorney" respectively, each of the new City and County of San Francisco.[2] The 1854 city attorney election had been marred by allegations of ballot stuffing,[3] and in 1857 Frederick Palmer Tracy [wikidata] was appointed by the Board of Supervisors.[4][5] An 1862 act of the California State Legislature made the position of city attorney subject to popular election every two years.[6]
The first woman to hold the position was Louise Renne in 1986, appointed by then-mayor Dianne Feinstein following the death of previous city attorney George Agnost.