Because railroads enabled farmers and ranchers to transporttheir products more efficiently, by the turn of the century Texas had become a leading producer of both cattle and cotton. ... Many would think that Texas cotton production would be in decline after the Civil War with the loss of slave labor.