Answer: The cable car, the invention of Andrew Hallidie, was introduced in San Francisco on Sacramento and Clay streets in 1873. The cars were drawn by an endless cable running in a slot between the rails and passing over a steam-driven shaft in the powerhouse.
Streetcar, also called tram or trolley, vehicle that runs on track laid in the streets, operated usually in single units and usually driven by electric motor. Early streetcars were either horse-drawn or depended for power on storage batteries that were expensive and inefficient.