mostly at the north end of the San Francisco Peninsula in the San Francisco Bay Area.San Francisco is the fourth-most populous city in California and the thirteenth-most populous in the United States, with a 2017 census-estimated population of 884,363.Entrepreneurs sought to capitalize on the wealth generated by the Gold Rush.Early winners were the banking industry, with the founding of Wells Fargo in 1852 and the Bank of California in 1864.
Montgomery arrived to claim Yerba Buena two days later.
Yerba Buena was renamed San Francisco on January 30 of the next year, and Mexico officially ceded the territory to the United States at the end of the war.
Despite its attractive location as a port and naval base, San Francisco was still a small settlement with inhospitable geography.
After the war, the confluence of returning servicemen, significant immigration, liberalizing attitudes, along with the rise of the "hippie" counterculture, the Sexual Revolution, the Peace Movement growing from opposition to United States involvement in the Vietnam War, and other factors led to the Summer of Love and the gay rights movement, cementing San Francisco as a center of liberal activism in the United States.
Politically, the city votes strongly along liberal Democratic Party lines.