Initially the line had a length of 19 kilometers , from Zagreb to Samobor via Podsused; in the 1950s the track was extended to Bregana and military overhaul workshops today located on the territory of Slovenia.