Roark Capital Group has agreed to buy restaurant chain Buffalo Wild Wings Inc. (Nasdaq: BWLD) for about $2.4 billion, adding to the private equity firm’s stable of eateries that includes Arby’s and Cinnabon.

Roark agreed to pay $157 a share in cash for the Minneapolis-based restaurant operator, representing a 34 percent premium to the stock’s Nov. 13 closing price, the day before Roark’s opening bid of about $150 was reported. Roark will also take on Buffalo Wild Wings net debt, the companies said.

The deal caps a tumultuous year for Buffalo Wild Wings, which lost a proxy fight with activist Marcato Capital Management in June. The battle caused longtime CEO Sally Smith to announce her resignation. The chain came under fire after a sales slump was exacerbated by higher prices for chicken wings.

Under the terms, Buffalo Wild Wings will become a closely held subsidiary of Arby’s and will continue to be operated as an independent brand, the companies said. Paul Brown, CEO of Arby’s Restaurant Group, will serve in that role of the expanded company. Funds advised by Marcato, which owns about 6.4 percent of Buffalo Wild Wings, have agreed to vote in favor of the acquisition, according to a statement.

Barclays served as financial adviser and White & Case LLP as legal counsel to Arby’s. Goldman Sachs Group Inc. (NYSE: GS)provided financial advice to Buffalo Wild Wings, while Faegre Baker Daniels LLP was its legal counsel.

Roark Capital is a prominent player in the food industry, with investments in chains such as Carl’s Jr., Carvel and Auntie Anne’s. The private equity firm earlier in 2017 backed an unsuccessful attempt to buy fried-chicken chain Popeyes Louisiana Kitchen Inc., which instead was sold to Restaurant Brands International Inc. for about $1.8 billion.