Its population and importance began to decline in the 19th century, however, after the completion of the Vienna-Trieste route of the Austrian Southern Railway, as the line went through Marburg (Maribor) instead.