According to a quick read on Wikipedia, you are right. He was charged, But not sentenced.
On January 6, 2011, Swartz was arrested by Massachusetts Institute of Technology (MIT) police on state breaking-and-entering charges, after connecting a computer to the MIT network in an unmarked and unlocked closet and setting it to download academic journal articles systematically from JSTOR using a guest user account issued to him by MIT.[15][16] Federal prosecutors, led by Carmen Ortiz, later charged him with two counts of wire fraud and eleven violations of the Computer Fraud and Abuse Act,[17] carrying a cumulative maximum penalty of $1 million in fines, 35 years in prison, asset forfeiture, restitution, and supervised release.[18] Swartz declined a plea bargain under which he would have served six months in federal prison.[19] Two days after the prosecution rejected a counter-offer by Swartz, he was found dead in his Brooklyn apartment.[20][21]
It didn’t get to trial if I remember right. He definitely wasn’t sentenced.
According to a quick read on Wikipedia, you are right. He was charged, But not sentenced.
https://en.m.wikipedia.org/wiki/Aaron_Swartz