The tram system in Ljubljana, the capital of Slovenia, was originally built in 1901 and was operated until 1958. Works have started in 1900 and the tram was put in use after postponements and without a special ceremony on 6 September 1901. The tram's end came on 20 December 1958, when it was replaced in a ceremony by 12 buses.
In the post-World War II era, many Yugoslav towns and cities with tram systems took out their systems, as they took up a lot of space in an era when it was needed for an increasing number of automobiles. In its final form, established in 1940, the system reached length of 18.5 kilometres (11.5 mi). Soon after the last day of operation the tracks were dismantled and the cars were transferred to Osijek and Subotica. Reintroduction of an actual tram system to Ljubljana has been proposed repeatedly in the 2000s.