The invention of barbed wire fence transformed the west