The Pinkerton Detective Agency's most profitable and extensive clients were the railway companies. In the late 19th century, Pinkerton agents were hired extensively to protect railway property, investigate train robberies, and track down outlaws targeting the railroads. This was far more lucrative than work for other industries.