sentence: It regained its position in the 19th century, when it became an important railway junction.
modified: fix grammar: It regained its positions in the 19th centuries, when it became an important railways junctions.