FILE- In this Sept. 9, 2015, file photo Len Don Diego, marketing manager for content at DraftKings, a daily fantasy sports company, works at his station at the company's offices in Boston. The daily fantasy sports industry has contracted starkly since questions about the legality of online games offered by companies sparked court and legislative battles across the U.S. last year. (AP Photo/Stephan Savoia, File)
FILE- In this Sept. 9, 2015, file photo Len Don Diego, marketing manager for content at DraftKings, a daily fantasy sports company, works at his station at the company's offices in Boston. The daily fantasy sports industry has contracted starkly since questions about the legality of online games offered by companies sparked court and legislative battles across the U.S. last year. (AP Photo/Stephan Savoia, File) Credit: Stephan Savoia

The Senate gave initial approval to a bill taxing and regulating fantasy sports contests and defeated a last-minute effort to do-away with fees paid by operators.

Before going to the governor’s desk, the legislation will be heard in the Senate finance committee.

It’s not clear how much the measure would raise, though the head of the Lottery Commission puts the dollar figure in the “hundreds of thousands” ballpark.