What Is the Main Conflict in "To Kill a Mockingbird"?

The main conflict in "To Kill a Mockingbird" is Atticus' decision to represent Tom Robinson after Bob Ewell accuses Tom of raping his daughter, Mayella. Atticus' two children, Scout and Jem, are taunted by other children for their father's decision. Some of the townspeople are also angered by Atticus' decision because Tom is a black man. The story is set in a segregated town.