Davivienda Group took out a $500 million loan from Bank of Nova Scotia, after it received regulatory approval for its acquisition of the Canadian lender’s businesses in three countries.

The 2-year loan charges interest based on SOFR, Davivienda said in a securities filing on Tuesday. It said the proceeds will be used for working capital and general corporate purposes, without elaborating.

The Colombian lender disclosed the financing agreement a day after announcing that it had obtained all the required regulatory approvals for the acquisition of Scotiabank’s subsidiaries in Colombia, Costa Rica, and Panama, a transaction they agreed in January for an undisclosed sum. Under the deal, Scotiabank will get a stake of about 20% of Davivienda’s business in each of the three markets.

Scotiabank’s operations in Colombia, Costa Rica, and Panama combined have about $12.4 billion in gross loans and $12.8 billion in deposits, according to Davivienda. The acquisition will add around 2.8 million customers to its portfolio, it added.