Alejandro Duran, Carl Feldhaus, and Jordan Yoss were employed in Georgia by All Risks, Ltd., a Maryland insurance brokerage firm, *491pursuant to agreements that include restrictive covenants, a forum-selection clause requiring the resolution of any dispute in a Maryland court and a choice-of-law clause requiring the application of Maryland law. In April 2010, Duran, Feldhaus, and Yoss resigned their employment with All Risks and became employed by Crump Insurance Services, Inc., a Texas insurance brokerage firm. Crump, Duran, Feldhaus, and Yoss sued All Risks in Georgia, seeking declaratory judgments that the agreements are unenforceable.1 Citing the forum-selection clause, both trial courts dismissed the suits, and Crump, Duran, Feldhaus and Yoss appeal, contending that the restrictive covenants were unenforceable in Georgia under the law that existed when the parties entered into the contracts.2 They further argue that, because Maryland courts were likely to enforce the covenants, Georgia courts should not honor the forum-selection clause. We disagree and affirm the judgments below.
We review de novo a trial court’s ruling on a motion to dismiss. The Houseboat Store v. Chris-Craft Corp., 302 Ga. App. 795, 795 (692 SE2d 61) (2010). The agreements in this case provide that Maryland law applies and that any dispute concerning the agreements must be resolved in a Maryland court. The appellants argue that Georgia law applies, the contractual provision notwithstanding, because they resided in Georgia and worked for All Risks in Georgia, and under Georgia law, the restrictive covenants in the agreements are unenforceable. The forum-selection clause is likewise unenforceable, they contend, because a Maryland court would likely honor the choice-of-law clause, apply Maryland law, and conclude that the restrictive covenants are enforceable, contrary to Georgia public policy.
Georgia law provides that “the law of the jurisdiction chosen by parties to a contract to govern their contractual rights will be enforced unless application of the chosen law would be contrary to the public policy or prejudicial to the interests of this state.” CS-Lakeview at Gwinnett, Inc. v. Simon Property Group, 283 Ga. 426, 428 (659 SE2d 359) (2008). If the appellants can show that the restrictive covenants in this case violate Georgia public policy and that a Maryland court would likely enforce the covenants against them, then requiring *492them to litigate in Maryland would deprive them of a meaningful opportunity to argue that the covenants were void, damaging them and the applicable Georgia public policy against restraint of trade. Bunker Hill Intl., 309 Ga. App. at 507.
Restrictive covenants in employment contracts are in partial restraint of trade and are enforceable only if strictly limited in time and territorial effect and are otherwise reasonable considering the business interest of the employer sought to be protected and the effect on the employee.
(Citation and punctuation omitted.) Fuller v. Kolb, 238 Ga. 602, 603 (234 SE2d 517) (1977). Whether the restraint imposed by the employment contract is reasonable is a question of law for determination by the court. Rollins Protective Svcs. Co. v. Palermo, 249 Ga. 138, 139 (287 SE2d 546) (1982). When addressing the question of reasonableness, a court should consider the duration, territorial coverage, and scope of activity subject to the restrictions. W.R. Grace & Co. v. Mouyal, 262 Ga. 464, 465 (1) (422 SE2d 529) (1992). A restrictive covenant without territorial limitations that limits a former employee from accepting business from any customer of the former employer is unenforceable under Georgia law. See Coleman v. Retina Consultants, 286 Ga. 317, 320 (1) (687 SE2d 457) (2009).
The restrictions in the contracts in this case were not limited geographically, and prohibited the former employees from even accepting business from certain customers for two years, regardless of whether the employees had worked directly with the customers. The contracts also provided that the passage of the two-year time period was tolled during any breach of the restrictive covenants. While All Risks disputes the contention in the appellants’ statement of facts that these covenants are unenforceable under applicable Georgia law, they clearly are unenforceable and are contrary to the Georgia public policy against restraint of trade.
After determining that the restrictive covenants violate Georgia public policy, the courts must consider whether a Maryland court would be likely to enforce the covenants against the former employees. In finding for the appellee that the forum-selection provision was valid, the trial court in Case No. A11A1652 held that Maryland’s law on restrictive covenants was similar to Georgia’s *493law.3 It cited a 2008 decision from the Court of Special Appeals of Maryland, which held that
an employee’s agreement not to compete with his employer upon leaving the employment will be upheld if the restraint is confined within limits which are no wider as to area and duration than are reasonably necessary for the protection of the business of the employer and do not impose undue hardship on the employee or disregard the interests of the public.
(Citation and punctuation omitted.) Ecology Svcs. v. Clym Environmental Svcs., 181 Md. App. 1, 14-15 (952 A2d 999) (2008). For example, applying Maryland law, a federal court in 2010 struck down a restrictive covenant in an employment contract because the scope of proscribed activity was too broad. MCS Svcs. v. Jones, No. WMN-10-1042, 2010 U. S. Dist. LEXIS 105013, at *11-15 (D. Md. Oct. 1, 2010).
Maryland’s highest court has explained that the state “follows the general rule that restrictive covenants may be applied and enforced only against those employees who provide unique services, or to prevent the future misuse of trade secrets, routes or lists of clients, or solicitation of customers.” Becker v. Bailey, 268 Md. 93, 97 (299 A2d 835) (1973). Courts in Maryland interpret these restrictive covenant provisions on a case-by-case basis, because “[t]here is no arbitrary yardstick as to what protection of the business of the employer is reasonably necessary, no categorical measurement of what constitutes undue hardship on the employee, no precise scales to weigh the interest of the public.” Ruhl v. Bartlett Tree Expert Co., 245 Md. 118, 124 (225 A2d 288) (1967).
The appellants here have not shown that a Maryland court would enforce these covenants, and therefore have not shown that proceedings in a Maryland court would likely produce a result that offends the public policy of Georgia. Absent such a showing, no compelling reason appears to avoid the forum-selection clause, and therefore we affirm the judgments of the trial courts.
Judgments affirmed.
Adams, J., concurs. Blackwell, J., concurs specially.Crump, Feldhaus, and Yoss filed an action on the Feldhaus and Yoss agreements, and Crump and Duran filed a separate action on the Duran agreement. The actions were assigned to different judges.
We apply the law of restrictive covenants as it existed when the contract was made, before the effective date of OCGA §§ 13-8-50 through 13-8-59, which defined the parameters of permissible covenants and granted courts the ability to amend these contracts rather than invalidate them entirely. See Bunker Hill Intl. v. NationsBuilder Ins. Svcs., 309 Ga. App. 503, 505, n. 1 (710 SE2d 662) (2011); Ga. Const. of 1983, Art. III, Sec. VI, Par. V (c) (2), (3).
The trial court in Case No. A11A1651 did not state the reason for its grant of summary judgment to the appellees.