The Ystad Line () is a long railway line between Malmö and Ystad in Scania, Sweden. At Ystad, the line connects with the Österlen Line, which continues onwards to Simrishamn. History Plans for a railway between Malmö and Ystad were first launched in the 1860s, and in 1872 a railway company was established to build the line. Because the region was regarded as sufficiently wealthy to finance its own infrastructure, the line received no state grants. During part of the planning phase, the line was proposed to be narrow gauge, but this was changed to standard gauge after sufficient funding was granted by Julius Stjernblad. Construction started in 1872 and the line was finished in December 1874. Because of the many nobles who had financed the line, it was originally known as the Count Line (). Because of the private financing, each manor received their own station, resulting in many stations and slow service. The original speed limit on the line was , giving a travel time of three hours from Malmö to Ystad. At Ystad, the line connected to the Österlen Line, which had opened in 1965. The two lines were merged into a common operating company, Ystads Järnvägar. The Ystad Line was nationalized in 1941. Diesel multiple units were taken into use in the 1950s. In 1955, the line through Malmö was moved, so instead of operating out of Malmö West Station via Södervärn, the line connected to the Continental Line. The last steam train ran in 1962. During the 1960s and 1970s, several of the smaller stations, including all the manor station, were closed. The line was moved in 1973 to run via Fosieby and the following year, the train ferry between Ystad and Swinoujscie in Poland opened, and the line received a large increase in freight trains. The line was electrified during the 1990s, and the first electricity-powered train ran across the tracks on 8 June 1996. The electrification resulted in increased traffic, and in 2003 a new passing loop was built at Rydsgård to allow increased traffic. Service The line has mixed passenger and freight traffic. The Skåne Commuter Rail operates a half-hour headway along the line using X61 (railcar) (used to be X11, which were changed between 2009 and 2017) trains, with some of the services continuing along the Österlen Line. DSB used to operate three daily InterCity Bornholm trains from Copenhagen Central Station