Casino and lottery game maker Scientific Games Corporation said on Friday it has agreed to buy Bally Technologies, Inc. for $5.1 billion in cash and debt in a deal that continues a streak of consolidations in the gaming industry.

As part of the deal, New York-based Scientific Games will pay $83.30 in cash for each of Bally’s outstanding shares—a 38 percent premium over the Las Vegas-based game maker’s closing price on Thursday. The deal will be financed with $3.3 billion in cash and $1.8 billion in assumed debt, Scientific Games said in news release.