The invention that had the effect of ending the era of the "long drives" of the late 19th century was the barbed wire, used to fence properties; these fences blocked the trails used by the cattle drivers. Also, the railroads and their stations were now closer to the cattle ranches.