The history of tram transport in Warsaw dates back to 1866 when a 6 kilometers long horsecar line was built to transport goods and passengers between the Vienna Railway Station and the Wilno and Terespol stations across the Vistula River.