Just to play devil's advocate here (and I understand this goes against prevailing opinion), but he did break the law. That much isn't in dispute, they had a video of him entering the MIT network closet. And he didn't commit misdemeanors, he committed a half dozen felonies (actually more, but the prosecution dropped a few of them).
The prosecution was offering a meager 6 months in a low-security prison (for multiple felonies, that's peanuts) for his crimes but he rejected the offer (source: https://en.wikipedia.org/wiki/Aaron_Swartz#Arrest_and_prosec...).
I understand what he was fighting for and agree with him and his ideology. I support Open Access, but let's not kid ourselves or delude ourselves - he wasn't innocent. He did commit crimes. I don't think this is the justice's systems fault. They were going to go extremely light on him but it was he who chose to fight.