The cities played an essential role in the development of the frontier, as transportation hubs, financial and communications centers, and providers of merchandise, services, and entertainment. As the railroads pushed westward into the unsettled territory after 1860, they build service towns to handle the needs of railroad construction crews, train crews, and passengers who ate meals at scheduled stops. In most of the South, there were very few cities of any size for miles around, and this pattern held for Texas as well, so railroads did not arrive until the 1880s. They then shipped the cattle out and cattle drives became short-distance affairs. However, the passenger trains were often the targets of armed gangs.