2018 San Francisco mayoral special election
A special election was held for Mayor of the City and County of San Francisco on June 5, 2018. The winner of the election will serve until 2020, filling the unexpired term of Ed Lee, who was elected in 2011 and 2015, and died in office on December 12, 2017. Upon Lee's death, London Breed, President of the San Francisco Board of Supervisors, became Acting Mayor of San Francisco, but a vote of six supervisors replaced Breed with Supervisor Mark Farrell. The mayoral election was held concurrently with the statewide direct primary election. In San Francisco, the election for the eighth district member of the Board of Supervisors was also on the ballot.
1987 San Francisco mayoral election
The 1987 mayoral election was held to elect the 39th mayor of San Francisco. Dianne Feinstein, then the incumbent, had served as mayor since the 1978 assassination of mayor George Moscone and supervisor Harvey Milk and had been elected to full terms in 1979 and 1983, and was thus term-limited. Then-California State Assembly member Art Agnos came from behind to defeat Supervisor John Molinari, garnering 70 percent of the vote.