Maryland Gov. Martin O’Malley (D), who has never been a strong proponent of gambling, is appearing in a new television ad supporting the expansion plan on the ballot known as Question 7.

In the ad, O’Malley touts the state’s investment in its schools and seeks to rebut an attack from opponents that there’s no guarantee additional gambling revenue will flow to Maryland schools.

“As governor, I can promise you that money will go to education,” O’Malley says, addressing the camera. “That’s the law, and that’s what we’ll do.”

Question 7 would allow a new casino in Prince George’s County, as well as Las Vegas-style table games at Maryland’s five previously authorized slots locations.

Gambling revenue in Maryland is split between casino operators, the state and host counties.

The expansion plan is based on legislation that O’Malley introduced this summer in a special session of the legislature. O’Malley said at the time that his primary motivation was to put the divisive issue behind him so that the state could focus on other priorities.