San Francisco harbor c. 1850. Between 1847 and 1870, the population of San Francisco exploded from 500 to 150,000.