It was based on a novel by Ward Greene called Death in the Deep  South, which was in turn a fictionalized account of a real-life case: the trial and subsequent lynching of Leo Frank after the murder of Mary Phagan in 1913.
The tale originated from Ward Greene's book "Death in the Deep South," which depicted a real event—the trial and eventual lynching of Leo Frank for murdering Mary Phagan in 1913.