Lottery games — both traditional and video — generated just under $10 billion in New York last year, nearly matching the all-time revenue record set the previous year.

Revenues for video lottery terminals alone did set a new record, at nearly $2 billion, according to the New York Gaming Commission.

The new numbers reported today cover the 2016-2017 state fiscal year, which ended March 31.