The Bank of Nova Scotia says its offer to buy a sizable stake in a Chilean bank for $2.9 billion has been accepted.

Scotiabank said Tuesday that Banco Bilbao Vizcaya Argentaria, S.A. (BBVA) agreed Tuesday to sell its 68.19% stake in BBVA Chile and its interests in certain subsidiaries.

The deal, which is expected to close in June 2018, would double the the Canadian lender’s market share in Chile to approximately 14% and make Scotiabank the third-largest private sector bank in the country.

“We are pleased to have reached an agreement with BBVA to acquire their shares of BBVA Chile,” said Scotiabank president and CEO Brian Porter in a statement.

“BBVA Chile has a proven track record … and this transaction demonstrates excellent synergy between both banks with customer-centric cultures.”

BBVA Chile has $29 billion in assets and has 4,000 employees at 127 branches. Scotiabank says it intends to merge BBVA Chile with its existing Scotiabank Chile operations, subject to regulatory approvals.

When the deal was initially announced last week, Scotiabank said the transaction is in line with its goal of increasing scale within the Chilean banking sector and the Pacific Alliance countries.

Chile’s Said family, which owns 31.62% of BBVA Chile, has waived its right of first refusal to acquire the share being sold to Scotiabank, but is willing to spend up to $650 million to own up to 25% of the combined business when Scotiabank Chile and BBVA Chile are merged.

“We will combine Scotiabank’s high-scale, high-sales productivity and retail portfolios with BBVA Chile’s capital markets expertise and cash management capabilities,” said Ignacio Deschamps, Scotiabank’s group head of international banking and digital transformation told analysts on a conference call Tuesday. “We have a strong cultural fit drawn from 2 leading international banks with an established local presence in Chile for several decades.”

Deschamps added that Scotiabank expects pre-tax cost synergies of between $150 million and $180 million by 2020. As well, the lender expects the transaction to be accretive to its earnings per share in the first year after completion, he added.