Most of them were farmers.
Railroads had an impact to increase transportation throughout the country. It made it more easier to get to other cities or states depending on which railway you were going.
The line was between Spain and Portugal, dividing the Americas between the two. Spain received Central America and most of South America, while Portugal receiving the portion of South America containing most of Brazil.
The term used for the series of conflicts in the 1800s is the Indian Wars.