Railroads were built near boomtowns. This was a major effect of boomtowns because without transportation to the East, the gold mined was worthless. Railroads also increased the migration to the West which caused more towns to be established. The immigration to boomtowns led to a variety of ethnicities in the country.