I wouldn't say it was an unfair trial,but when Capone was convicted of Income Tax evasion,the judge gave him 11 years.
That sentence was way out of line for the crime. I would say that this was a chance for the Gov't to punish him for at least some of the other crimes that they couldn't prove.