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.
November 2005 San Francisco general election
Incumbent José Cisneros, appointed by mayor Gavin Newsom in September 2004, won reelection.