The deal is set to take effect early Wednesday.