Railroads were the foremost means of transportation during the 19th and early 20th centuries.