Smith, along with Tor Braham, Eddy Hartenstein and Richard Hill, will join Yahoo’s board immediately, the company said in a statement on Wednesday. Starboard will withdraw its slate of nominees as part of the deal.

“This constructive resolution will allow management and the board to keep our focus on our extremely important objectives,” Mayer said in the statement. “Management is looking forward to working with the entire board, including the new directors, to maximize shareholder value.”

Yahoo’s nine-member board will total 11 after the additions. Two current directors won’t seek re-election for “personal reasons,” according to the company.

Starboard pushed to oust the board even after the company capitulated to its demand to sell its core business. Apparently, Smith didn’t entirely trust Mayer & Co. and kept up the pressure for a quick sale by threatening a proxy bottle.

On Wednesday, Smith seemed satisfied that the company is committed to finding a buyer for the web assets.

“We look forward to getting started right away and working closely with management and our fellow board members with the common goal of maximizing value for all shareholders,” he said in a statement.

More than 10 potential buyers, including front-runner Verizon Communications, submitted first-round bids for Yahoo’s core business last week. The company is expected to whittle that figure down to around three this week, sources told The Post.

Shares of Yahoo were up 12 cents, or less than a percent, at $37.24 in morning trading.