Joseph Glidden, an Illinois farmer, invented barbed wire in the 1870s, making large-scale fencing inexpensive and easy. This led to the closing of the open range as ranchers began fencing off their land, ending the era of free-roaming cattle. However, the introduction of barbed wire also caused conflicts known as range wars between small landowners and ranchers over blocked roads and fences surrounding water sources. State legislatures eventually passed laws against fence cutting and requiring gates to be placed along fences. The closing of the open range transformed cattle ranching and marked the end of an important period in the history of the American West.