Reese, Judge. All Star, Inc. (“the Appellant”) appeals the trial court’s order dismissing its petition for a writ of mandamus in response to a motion to dismiss filed by the Georgia Lottery Corporation (“GLC”), Debbie Alford, and Joseph Kim (collectively “the Appellees”).[1] The Appellant argues that the trial court erred in ruling that the Appellant’s request for a hearing on the revocation of its 2017 license was moot and that GLC was not a proper party to this action. For the reasons that follow, we affirm. Viewed in the light most favorable to the Appellant, as the non-movant,[2] the verified petition alleges the following facts. In 2017, Kim, on behalf of GLC, and the Appellant corresponded through a series of letters, regarding the Appellant’s license to operate coin-operated amusement machines (“COAMs”).[3] In a February 1, 2017 letter sent to the attention of Thomas Gray,[4] Kim informed the Appellant of GLC’s intent to revoke the Appellant’s license to operate COAMs due to an alleged violation under OCGA § 50-27-73 (c).[5] Kim alleged that the Appellant had been recently sold to and had been returned to the control of a former owner, Larry Simmons, Sr., (“Simmons”), who had pled guilty to “gambling and fraud related charges[.]” Kim informed the Appellant that, if it wished to dispute the license revocation, the Appellant could request a hearing in writing, signed by the licensee, within 30 days.[6] By letter dated March 1, 2017, and signed by Alan Begner, as attorney for the Appellant, and the Appellant’s owner, “Larry Simmons, Jr.[,]” the Appellant denied that Simmons was “ again involved in [its] operation[,]” demanded a dismissal of the revocation action, and requested a hearing. GLC, through Kim, responded by letter dated March 6, 2017, denying the Appellant’s request for a hearing because the request was not signed by Thomas Gray, the “ registered agent[,] chief executive officer[, and owner] of [the Appellant].”[7] The Appellant did not respond to GLC’s letter to challenge its ruling as to the validity of the hearing request. GLC remotely disconnected the COAM machines and notified the Appellant that the machines were to be removed no later than March 16, 2017, from the Appellant’s premises. In July 2017, the Appellant filed a mandamus petition against the Appellees, seeking an order compelling GLC to conduct a hearing on the COAM license revocation and to force GLC to allow the Appellant to continue to operate under its 2017 license until the hearing was held and the ruling on the revocation was appealed, if necessary. The Appellant also sought attorney fees and expenses of litigation. The Appellees filed an answer by “limited appearance[,]” and, on July 23, 2018, filed a motion to dismiss the petition, asserting that, because the Appellant’s license had been revoked and the Appellant had not tried to renew the 2017 license or applied for a new license, the mandamus action was moot.[8] The trial court granted the Appellees’ motion, and the Appellant filed this discretionary appeal.[9] A motion to dismiss . . . should not be sustained unless (1) the allegations of the complaint disclose with certainty that the claimant would not be entitled to relief under any state of provable facts asserted in support thereof; and (2) the movant establishes that the claimant could not possibly introduce evidence within the framework of the complaint sufficient to warrant a grant of the relief sought. If, within the framework of the complaint, evidence may be introduced which will sustain a grant of the relief sought by the claimant, the complaint is sufficient and a motion to dismiss should be denied. In deciding a motion to dismiss, all pleadings are to be construed most favorably to the party who filed them, and all doubts regarding such pleadings must be resolved in the filing party’s favor.[10] Mandamus is “an extraordinary remedy to compel a public officer to perform a required duty when there is no other adequate legal remedy.”[11] “The writ of mandamus is properly issued only if (1) no other adequate legal remedy is available to effectuate the relief sought; and (2) the applicant has a clear legal right to such relief.”[12] Further, a clear legal right to the relief sought may be found only where the claimant seeks to compel the performance of a public duty that an official or agency is required by law to perform. For mandamus to issue, the law must not only authorize the act to be done, but must require its performance. Where performance is required by law, a clear legal right to relief will exist either where the official or agency fails entirely to act or where, in taking such required action, the official or agency commits a gross abuse of discretion. The determination of whether official action is required depends on the law governing the subject matter in question. Thus, where the applicable law vests the official or agency with discretion with regard to whether action is required in a particular circumstance, mandamus will not lie, because there is no clear legal right to the performance of such an act.[13] The party seeking the mandamus “bears the burden to show that it lacks an adequate legal remedy so that an action for mandamus will lie.”[14] This Court’s review of the trial court’s ruling on whether to grant a mandamus petition is de novo.[15] With these guiding principles in mind, we turn now to the Appellant’s specific claims of error. 1. The Appellant argues that trial court erred in finding that the mandamus petition was moot. Specifically, the Appellant contends that it could not file a renewal application for its COAM license because the license had been revoked, not because it had expired. “Mandamus will not be granted when it is manifest that the writ would, for any cause, be nugatory or fruitless[.]“[16] “Mandamus proceedings, when instituted, do not relate back to the time of the accrual of a right thereto, and the duty to be enforced must be a duty which exists at the time when the application for mandamus is made or the writ is granted.”[17] Here, the Appellant received a letter from Kim, dated February 1, 2017, that stated that under OCGA § 50-27-73 (c), “GLC is providing you with 30 days’ notice of its intent to revoke All Star Inc.’s COAM license.” GLC Rule 13.2.9 (1) states that: In the case where a licensee has received notice of suspension or revocation of an existing license pursuant to either OCGA § 50-27-71 (a.2) or OCGA § 50-27-73 (c) and the licensee[18] has requested a hearing pursuant to OCGA § 50-27-74 prior to the effective date of such action of suspension and revocation, the effective date of such action shall be stayed until the issuance of the Order of the Hearing Officer. Although the Appellant, through a letter dated March 1, 2017 and signed by the Appellant’s attorney on behalf of Larry Simmons, Jr., sought a hearing, the request was rejected by GLC via letter dated March 6, 2017, because according to its records, Larry Simmons, Jr. “[was] not a licensee nor an applicant for a license. [T]he Office of the Georgia Secretary of State show[ed] that Thomas Gray [was] the registered agent and the chief executive officer of [the Appellant]; and GLC ha[d] not received a request for a hearing from Thomas Gray[.]“ The Appellant sought a hearing on the revocation of its 2017 license with GLC through a petition for a writ of mandamus filed in March 2017, and voluntarily dismissed its petition on March 16, 2017. It is undisputed that the Appellant did not file an application to GLC in 2017 for a COAM license, which would have been effective July 1, 2017 through June 30, 2018.[19] Under the statutes governing GLC, “[a]n application for the renewal of a license or permit must be made to the corporation in accordance with the due dates set forth in the rules promulgated by the board each year.”[20] And, under OCGA § 50-27-71 (k),[21] a license that “has been expired for more than 90 days may not be renewed.” Further, [w]hen we consider the meaning of a statute, we must presume that the General Assembly meant what it said and said what it meant. To that end, we must afford the statutory text its plain and ordinary meaning, we must view the statutory text in the context in which it appears, and we must read the statutory text in its most natural and reasonable way, as an ordinary speaker of the English language would.[22] Here, a plain reading of OCGA § 50-27-71 (k) shows that a license that has been expired for more than 90 days can not be renewed. Read in conjunction with OCGA § 50-27-71 (f), the application for the renewal of a license must be made to GLC within the time period prescribed by GLC rules and regulations. Under these circumstances, the Appellant filed its second mandamus petition before the 90-day expiration period in OCGA § 50-27-71 (k), but the trial court did not rule on the issue until after the expiration period. It follows that although the Appellant sought to continue to operate the COAM machines under the 2017 license, that license would have expired on June 30, 2017. Thus, at the time of the trial court’s ruling in October 2018, the Appellant’s request for a hearing on the revocation of that license was moot.”[23] “Mandamus is not the proper remedy to compel the undoing of acts already done or the correction of wrongs already perpetrated, and this is so, even though the action taken was clearly illegal.”[24] Pretermitting whether the trial court’s ruling was factually and legally correct, this Court will affirm a judgment if it is right for any reason.[25] Thus, based on the foregoing, we affirm the trial court’s grant of the Appellees’ motion to dismiss.[26] 2. In light of our decision in Division 1, supra, the Appellant’s remaining claim of error is moot. Judgment affirmed. Miller, P. J., and Rickman, J., concur.