In the meantime, the town of Zaječar, being much closer to Niš and, therefore, to the rest of Serbia, was slowly taking over as a regional center. This advantage became much clearer especially with the construction of the railroad. Negotin was, though, more to the north and thus closer to Belgrade and the rest of Serbia, but those roads led through inaccessible mountain terrain, whereas it was much easier to go to the south, so Zaječar was, in terms of transport, much better off than Negotin. Until the beginning of the First World War, Zaječar had overtaken Negotin in terms of size and importance.