https://en.wikipedia.org/wiki/Category:Military_facilities_in_the_San_Francisco_Bay_Area
At one point, SF and the Bay Area had a strong military representation in the community. A big chunk of the conservative POV was lost as bases closed. The Coast Guard still operates, but for the most part, the Army, Navy, Air Force, and Marines are gone.
SF is a Commie shit hole these days.