How did the railroads affect the economy?
They helped build the economy by providing the transportation of goods and services.