his success led him to found the "rocky mountain detective association", a freelance, volunteer-only group of colorado troubleshooters, similar in character to the pinkerton detective agency. although its offices were in denver, its cases took him all over the west. from 1866 to 1869, cook served as marshal of denver, as well as acting as a federal marshal and range detective.