This is a list of tribal chiefs, alcaldes and mayors of San Francisco.
Spanish era
California's first governor Felipe de Neve ordered all of the Missions to elect local Alcaldes (a combination of Mayor and Magistrate) around 1779.
References
List of pre-statehood mayors of San Francisco Wikipedia(Text) CC BY-SA