You should have informed them your intention not to renew. Because there is a chance they not get another tenant within 1 month.

Negotiate with him so that you can stay there itself for the additional month. If you go to court , it is 90% likely that you will lose the case.