linguistic:translation
Post-Conquest era

Despite its attractive location as a port and naval base, post-Conquest San Francisco was still a small settlement with inhospitable geography. Its 1847 population was said to be 459.

The California gold rush brought a flood of treasure seekers (known as "forty-niners," as in "1849"). With their sourdough bread in tow, prospectors accumulated in San Francisco over rival Benicia, raising the population from 1,000 in 1848 to 25,000 by December 1849. The promise of wealth was so strong that crews on arriving vessels deserted and rushed off to the gold fields, leaving behind a forest of masts in San Francisco harbor. Some of these approximately 500 abandoned ships were used at times as storeships, saloons, and hotels; many were left to rot, and some were sunk to establish title to the underwater lot. By 1851, the harbor was extended out into the bay by wharves while buildings were erected on piles among the ships. By 1870, Yerba Buena Cove had been filled to create new land. Buried ships are occasionally exposed when foundations are dug for new buildings.

California was quickly granted statehood in 1850, and the U.S. military built Fort Point at the Golden Gate and a fort on Alcatraz Island to secure the San Francisco Bay. San Francisco County was one of the state's 18 original counties established at California statehood in 1850. 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. A straight line was then drawn across the tip of the San Francisco Peninsula just north of San Bruno Mountain. Everything south of the line became the new San Mateo County while everything north of the line became the new consolidated City and County of San Francisco.

The California Gold Rush triggered a wave of entrepreneurial activity as individuals sought to capitalize on the newfound wealth. The discovery of silver deposits, notably the Comstock Lode in Nevada in 1859, further fueled rapid population growth and economic expansion.

San Francisco, as the gateway to the goldfields, experienced a surge in population and commercial activity. However, the influx of fortune seekers also brought challenges. Lawlessness was rampant, and the Barbary Coast district became synonymous with vice, attracting criminals, prostitutes, and illicit activities, including but not limited to prostitution, bootlegging, and gambling.

One of the most influential figures of this era was William Chapman Ralston. A shrewd banker and investor, Ralston amassed considerable wealth and influence in San Francisco. He gained control over a significant portion of the Comstock Lode 's gold and silver mines, establishing a virtual monopoly. Using his incredible clout, Ralston was able to generate millions of dollars for San Francisco during its heady boom years. He founded the Bank of California, the first bank in the Western United States, and built the opulent Palace Hotel, a symbol of San Francisco's newfound prosperity and the largest hotel in the country at the time. His financial empire, however, collapsed in 1875 as a result of the Panic of 1873, triggering a major economic crisis in San Francisco.

Development of the Port of San Francisco and the establishment in 1869 of overland access to the eastern U.S. rail system via the newly completed Pacific Railroad (the construction of which the city only reluctantly helped support) helped make the Bay Area a center for trade. Catering to the needs and tastes of the growing population, Levi Strauss opened a dry goods business and Domingo Ghirardelli began manufacturing chocolate. Chinese immigrants made the city a polyglot culture, drawn to "Old Gold Mountain," creating the city's Chinatown quarter. By 1880, Chinese made up 9.3% of the population.

The first cable cars carried San Franciscans up Clay Street in 1873. The city's sea of Victorian houses began to take shape, and civic leaders campaigned for a spacious public park, resulting in plans for Golden Gate Park. San Franciscans built schools, churches, theaters, and all the hallmarks of civic life. The Presidio developed into the most important American military installation on the Pacific coast. By 1890, San Francisco's population approached 300,000, making it the eighth-largest city in the United States at the time. Around 1901, San Francisco was a major city known for its flamboyant style, stately hotels, ostentatious mansions on Nob Hill, and a thriving arts scene. The first North American plague epidemic was the San Francisco plague of 1900–1904.