Most of the railway lines were completed in October 1877, as Split was connected to Siverić via Perković. When Split hosted the 1979 Mediterranean Games, an extensive suburban railway system was planned. The existing tracks from the suburbs to the main terminus train station in the harbor were laid underground. As a double-track electrified railway was planned, an underground station Split-H.B.Z. (with a 1,893 m tunnel) was built. A further section of the railway was covered in 1983. In 1991, Croatian war of independence broke out. The occupied territory severed the railway links between Split (and Dalmatia) and the rest of Croatia. Between February 1993 and October 1994, Croatian Railways, facing many idle trains and railway workers in Dalmatia, organized a short-lived and ill-fated Split suburban railway from Split to Kaštela. Local authorities did not support the project while the long-distance rolling stock proved to be unsuitable for suburban traffic. After the war's end in 1995 this project was abandoned.