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.
2015 San Francisco mayoral election
In November 2015, incumbent Mayor Ed Lee declared that he would stand for reelection for a second term as mayor. State Senator Mark Leno had considered running but ultimately decided against it. Former Mayor Art Agnos, City Attorney Dennis Herrera, Public Defender Jeff Adachi and former State Assemblyman Tom Ammiano all also declined to run. Initially, local media speculated that Lee would run for reelection unopposed. Lee was ultimately opposed by five candidates: Kent Graham, Francisco Herrera, Reed Martin, Stuart Schuffman, and Amy Farah Weiss.