The private Market Street Railway opened a branch - built in just six days - of its Mission Street line along Ocean Avenue to Victoria Street on December 4 , 1895 to serve the new Ingleside Racetrack . The line was extended to the Ingleside House ( where Ocean Avenue now meets Junipero Serra Boulevard ) shortly thereafter . The 1906 earthquake damaged many cable car and streetcar lines ; in the aftermath , the United Railroads ( URR ) - successor to the Market Street Railway - closed many cable cars lines and expanded the electric streetcar system . The URR resumed service on the Ocean Avenue line on May 6 , 1906 ; the line ( route 12 ) was soon extended to Ocean Beach via Junipero Serra Boulevard and Sloat Boulevard
1906 earthquake
1906 San Francisco earthquake
Junipero Serra and Ocean station