Buffalo Bill Cody comes to aid the miner Rocky Ford and a group of ranchers in their defeat of a local crime lord, King Carney, who is trying to keep the new railroad out of the territory in order to carry on with his illegal operations.