San Francisco – Wikipedia

San Francisco County was one of the state’s 18 original counties established at California statehood in 1850. [65] Until 1856, San Francisco’s city limits extended west to Divisadero Street and Castro Street, and south to 20th Street. In 1856, the California state government divided the county.

https://en.m.wikipedia.org/wiki/San_francisco