Buffalo Wild Wings Inc. shareholders voted Friday to sell the company to Arby's Restaurant Inc., sealing a $2.9 billion deal that puts Minnesota's largest restaurant company into a conglomerate.

In a brief meeting at the company's headquarters in Golden Valley, 99 percent of voted shares were cast in favor of the sale.

Shareholders were more split on a nonbinding resolution that recommended compensation payouts to several executives of Buffalo Wild Wings. That measure received support from 54 percent of voted shares.

The deal is expected to formally close Monday or Tuesday, when the Golden Valley company will become a subsidiary of Arby's and be led by Arby's Chief Executive Paul Brown.

Buffalo Wild Wings investors will be paid $157 for each share they own in the firm. The company's shares were trading around $118 when the offer from Roark Capital Group, the Atlanta investment firm that owns Arby's and more than a dozen other national restaurant chains, was announced.

Through Arby's, Roark has an opportunity to restore momentum to Buffalo Wild Wings, which was working through a leveling-off of growth in 2016 when an activist investor came along and mounted a proxy campaign to impose a new strategy and executive team on it.

At the company's annual meeting last June, shareholders awarded the activist investor several seats on the board and the company's longtime chief executive, Sally Smith, announced plans to retire by the end of the year.

Even before that vote, however, Roark executives had quietly approached Smith and Board Chairman Jerry Rose expressing interest in a deal. In late June, they disclosed Roark's interest at the first meeting of the new board, which then pursed negotiations that led to the November offer.

Amid all that, Buffalo Wild Wings saw its sales growth slow to 4 percent last year to just over $2 billion. That follows a 9.6 percent increase in 2016 and a 19.5 percent increase in 2015. And comparable sales, or those at restaurants open at least a year, fell 1.6 percent to 1.7 percent, the company told investors last month in a preliminary summary of year-end performance.

Buffalo Wild Wings also disclosed that it spent about $6 million on the proxy battle and $4.6 million on consulting fees as executives studied ways to restructure the firm.

Smith, who became chief executive in 1996 and led the company from about 50 locations to more than 1,200, agreed to stay on through the sale.