While both the Knights of Labor and Eugene V. Debs' American Railway Union attempted to organize railroad workers on an industrial basis, those efforts were defeated, in some cases by government intervention, injunctions, and force of arms.