The Market Street Railway Company was a commercial streetcar and bus operator in San Francisco. The company was named after the famous Market Street of that city, which formed the core of its transportation network. Over the years, the company was also known as the Market Street Railroad Company, the Market Street Cable Railway Company and the United Railroads of San Francisco.
The company should not be mistaken for the current Market Street Railway, which is named after its predecessor but is actually a legally unconnected non-profit support group for San Francisco's heritage streetcar lines.
The franchise for what would become the Market Street Railway was granted in 1857 to Thomas Hayes. The line was the first horsecar line to open in San Francisco, opened on July 4, 1860, as the Market Street Railroad Company. A few years later, the line was converted to steam power utilizing a steam engine that was part locomotive and part passenger car, and a trailer car.
Following the opening of the cable hauled Clay Street Hill Railroad in 1873, pressure grew to convert the city's horsecar lines to the new form of traction. In 1882, Leland Stanford and associates bought the Market Street Railroad Company and converted its lines to cable haulage. In the process, the company's name was changed to the Market Street Cable Railway Company. This company was to grow to become San Francisco's largest cable car operator. At its peak, it operated five lines all of which converged into Market Street to a common terminus at the Ferry Building; during rush hours a cable car left that terminus every 15 seconds.
However transit technology was still moving on, and the new electric streetcar quickly proved to cheaper to build and operate than the cable car, and capable of climbing all but San Francisco's steepest hills. In 1893, Stanford died and the company was taken over by the Southern Pacific Railroad. The company was again renamed to the Market Street Railway Company, and began the process of converting its lines to electric traction. In 1895 the company placed a newspaper advertisement in the San Francisco Examiner offering horse cars for $20 ($10 without seats). Many of these became the basis for the impromptu community built from streetcars called Carville-by-the-Sea.