A passenger vehicle that serves urban streets, running along rails set in the road surface. Modern trams are powered by electricity usually from an overhead cable, but the first trams, in the early nineteenth century, were horse-drawn. Steam-powered trams replaced them towards the end of the century, and cable cars were introduced at about the same time. In these the tram was pulled along its track by a moving cable. The first electric trams were installed in St Petersburg, Russia in about 1880.