Effects of the arrival of the railroad