Shareholders of Chicago-based PrivateBancorp Inc. voted Friday to approve a takeover of the company by Canadian Imperial Bank of Commerce (CIBC), which twice-sweetened its bid in an effort to win support.

“The vote by the PrivateBancorp shareholders marks an important milestone in the process and we are very pleased with the outcome,” CIBC chief executive Victor Dodig said in a statement.

“We look forward to continuing to work closely with the PrivateBancorp team to successfully complete the transaction and realize the full benefits for our shareholders, employees, clients and communities.”

The outcome of the vote had been uncertain, with shareholder advisory firm Institutional Shareholder Services recommending against the takeover.

PrivateBancorp said the transaction is still subject to customary closing conditions, including approval by banking regulators in the United States and Canada.

But both banks said they are confident that the remaining closing conditions will be satisfied in time to close the deal in June.

“This will make our strong bank even stronger with the same commitment to building long-term client relationships, the same experienced team, and the same dedication to Chicago and all of the communities we serve,” PrivateBancorp chief executive Larry Richman said.

Toronto-based CIBC twice raised its stock-and-cash offer for PrivateBancorp in recent weeks, bringing it to C$6.8 billion last week.

Under the deal, PrivateBancorp shareholders would receive US$27.20 in cash and 0.4176 of a CIBC common share for each PrivateBancorp share they hold.

A shareholder vote on the deal had been scheduled for December but was postponed after shares of PrivateBancorp rose above the value implied in the proposed deal, which was announced last summer.

PrivateBancorp said at the time that its shareholders needed more time to consider the transaction.