How did I do community service for a municipal court then get charged in a criminal Court for same case, same case number?

How did I do community service for a municipal court then get charged in a criminal Court for same case, same case number?
I was charged with possession of a control substance less than 35 grams of marijuana I had to go to a municipal court the judge said plead guilty and ill keep it off your record just complete 20 hrs community service which I complied now I got a letter 3 months later saying state vs me and I got to come and enter a plea but I already did in the other court.. Is that legal? What can I do they say its a class d felony

Justin’s Answer
This issue cannot be resolved over a post. You need to contact a local criminal defense attorney and have them investigate your case. It sounds like your possession case was too serious for municipal court and got moved to the circuit court.