The 140.10 "criminal trespass in the third degree" offense is a class b misdemeanor, which means it carries a sentence of up to 90 days in jail. (It is very unlikely that you would get a jail sentence on that charge.)
You may wish to consult a lawyer about the possibility of getting the charge dropped or reduced based upon the equities of your situation, or to find out what type of deals are typically offered in trespass cases. (It's what I would do if I were in your position.)

