Infrastructure in the Southern regions was much more developed and efficient than in the poorer Northeastern states. The first railway was built in 1852, connecting the Port of Mauá to Raiz da Serra in the state of Rio de Janeiro.[27] By 1900, Brazil had some 20,000 km of track.[27] As shown in Figure 1, the South had a more elaborate railway network which also contributed to the transportation of goods.