San Francisco is located on the tip of a peninsula in Northern California, and is one of the most densely populated cities in the US. The city grew rapidly during the California Gold Rush in the mid-19th century. It has a diverse population and is known for landmarks like the Golden Gate Bridge and cable cars. The city has a mild, Mediterranean climate due to the moderating influence of the nearby Pacific Ocean and San Francisco Bay.