BOSTON (AP) — Regulations governing daily fantasy sports issued by Democratic Attorney General Maura Healey earlier this year have been written into law.

Republican Gov. Charlie Baker signed a bill Wednesday codifying the rules, which include a minimum age of 21 for participating in the online contests.

Baker says giving the regulations the force of law is good for both the Massachusetts economy and the fast-growing industry.

He says it was important to establish guidelines under which companies like Boston-based DraftKings and New York-based FanDuel can operate.

DraftKings co-founder and CEO Jason Robins says some of the rules are tougher than he wanted, but overall they’re good for the industry.

He says having clear regulations written into state law makes it easier to continue to build the company in Massachusetts.

(Copyright (c) 2024 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed.)

Join our Newsletter for the latest news right to your inbox