Scottsboro trial Similar to TKAM?!?

How the Book takes real life events and fictionalizes them in a classic novel

in the story, tom Robinson is accused of rape by a white woman in the south in the 1930s. so right off the bat his odds don't look so good of making it out of there alive. but in reality, the SAME exact thing happened in Scottsboro Alabama, a group of black men were accused by two girls whose story's were not very clear.
the trial turned out a little differently in the book than it did in reality. in the real trial, the nine boys were all eventually released. but in the book tom is convicted and killed while he is trying to escape. i think Harper lee did this so that people could see that it didn't always work out the way it does in Scottsboro