The Pinkerton Agency worked for the federal government collecting intelligence during President Lincoln’s term, and the agency is credited with foiling a plot to assassinate Lincoln.