2018 San Francisco mayoral special election
Ed Lee, who was appointed Mayor of San Francisco in 2011 following Gavin Newsom's election as Lieutenant Governor of California, elected to a full term in 2011, and reelected in 2015, died of cardiac arrest on December 12, 2017. London Breed, the President of the San Francisco Board of Supervisors, became the city's acting mayor.
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.