Despite what the image says, Aaron Swartz was actually never convicted of a crime in a court of law, and hence never sentenced. He was harassed by prosecutors, who posthumously dismissed the charges against him they were hounding him with (possibly because they were annoyed by earlier legal conduct of his that got prosecutors reprimanded by judges for inappropriate inclusion of private data in unsealed filings).
Sounds like the prosecution only dropped it because people were blaming them for his suicide and there was a public outcry. More cowardly than generous for them to drop the charges TBH. I doubt they did it because they actually realized how asinine the charges were.