The line from Tczew to Starogard Gdanski was opened on january 16th 1871. It became a part of Ostbahn and was built using financial measures gained when Prussia won a war with France.