Many think that TKAM was also influenced by the famous Scottsboro boys trial in 1931; the trial was for several African-American boys accused of raping two white girls.
This was written during the Civil Rights movement, where African-Americans were fighting for equal rights.