My question involves criminal law for the state of: MA
On Halloween of 2009 I was arrested for the Massachusetts open container law while standing outside of a party even though I was 23 years old. After the cops put the cuffs on me they searched my pockets and found two E pills. I was charged with a felony class B possession. I don't understand why getting caught with such a small amount is a felony. I didn't have a long previous record just an underage drinking charge and a marijuana charge. Also, does this marijuana charge disappear from my record since it was decriminalized.