37.7775, -122.41638889
John Francis Shelley (September 3, 1905 – September 1, 1974) was a U.S. politician. He served as the 35th mayor of San Francisco, from 1964 to 1968, the first Democrat elected to the office in 50 years, and the first in an unbroken line of Democratic mayors that lasts to the present (as of 2023). His term in the United States House of Representatives, immediately prior to his mayoralty (1949-1964), also broke a long streak of Republican tenure (44 years) and began a streak of Democratic representatives from San Francisco (and, coincidentally, the 5th district) that continues to the present (as of 2023).
Shelley earned a law degree from the University of San Francisco in 1932. He served in the United States Coast Guard during World War II and was a member of the California State Senate from 1939 to 1947. He ran an unsuccessful race for the Lieutenant Governor's office against Goodwin Knight in 1946. Shelley would then make his mark as a leader of the California delegation to the 1948 Democratic National Convention, when he helped marshal his state's votes to support a strong civil rights plank. Shelley entered the United States House of Representatives in 1949 and served until 1964, when he stepped down to be inaugurated Mayor of San Francisco after winning the November, 1963 election by nearly a 12-point margin against his nearest opponent, Harold Dobbs (50-38.5%).