The Ocean Shore Railroad was a railroad built between San Francisco and Tunitas Glen, and Swanton and Santa Cruz that operated along the Pacific coastline from 1905 until 1920. The route was originally conceived to be a continuous line between San Francisco and Santa Cruz, but the 1906 San Francisco Earthquake, financial difficulties, and the advent of the automobile caused the line to never reach its goals, and remain with a Northern and Southern division.