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. 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". The 1854 city attorney election had been marred by allegations of
ballot stuffing, and in 1857 was appointed by the
Board of Supervisors. 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. ==List of City Attorneys==