¶1Pulin R. Patel was tried before a jury in the City Court of Atlanta and found guilty of following too closely, leaving the scene of an accident, reckless driving, and driving under the influence of alcohol. His convictions were affirmed on direct appeal. In Case No. A00A2390, Patel appeals from the denial of his subsequent motion to modify his four misdemeanor sentences.
¶21. The trial court’s order denied Patel’s motion on the ground that “[a] trial court loses power to modify, suspend or vacate its judgments after the term at which they are rendered.”
¶32. The Solicitor urges an affirmance under the theory that a *816judgment that is right for any reason must be affirmed. But the court clearly did not exercise any discretion because it erroneously believed it had no discretion to grant Patel’s motion for leniency in misdemeanor sentencing since the term of court had passed. Where a ruling committed to the discretion of the trial court shows that no such discretion was in fact exercised and that the judgment rendered was based on an erroneous theory of law or a misapprehension of the applicable law, the “right for any reason” rule cannot ratify the result.
¶4Judgment vacated and case remanded with direction.
¶5 Citing Latham v. State, 225 Ga. App. 147 (483 SE2d 322) (1997).
¶6 Except as otherwise provided by law, every misdemeanor shall be punished by a fine not to exceed $1,000 or by confinement in the county jail for a term not to exceed 12 months, or both. OCGA § 17-10-3 (a) (1).
¶7 OCGA § 17-10-3 (b).
¶8State v. James, 211 Ga. App. 149, 150-151 (2) (438 SE2d 399) (1993).
¶9Watson v. Elberton-Elbert County Hosp. Auth., 229 Ga. 26, 27 (189 SE2d 66) (1972). Accord Rowe v. Akin & Flanders, Inc., 240 Ga. App. 766, 770 (3) (525 SE2d 123) (1999).