After killing the Arab, Mersault is imprisoned while he awaits his trail. Before and during the trail Mersault is asked to recount the events that took place before the shooting including the funeral of his mother. While Mersault confessed to the crime, it seemed that his character was on trial and not the actual crime.
The prosecutor speaks in great lengths about Mersaults actions at the funeral of his mother. “It was then that he talked about my attitude toward Maman. He repeated what he had said earlier in the proceedings. But it went on for much longer than when he was talking about my crime-so long, in fact, that finally all I was aware of was how hot a morning it was” (101). The prosecution is more interested in his relationship with his mother than they are about the crime that Mersault confessed to committing.
This perception of Mersault being inhumane, a monster, and soulless is ultimately what sways the jury against him. The jury sentences Mersault to be beheaded in the town square. While Mersault did commit a crime, it is hard to believe that if Mersault had different beliefs and a different personality that he would have been judged as harshly.