Read the book Three Felonies A Day. The law is so bloated now that we all do illegal things all the time, we can't help it.
What Swartz actually did was to download copies of scientific papers that should be in the public domain to begin with, because we paid for the research already with our tax money. The fact that such information is considered "proprietary" and JSTOR and other companies are able to keep it locked behind paywalls is an outrage.
Further, after Swartz returned all the material he had downloaded and agreed not to do it again, both JSTOR and MIT said they were satisfied and no further action was needed (though JSTOR was more emphatic about it than MIT was). Which, combined with the above, should have ended the case then and there.