The banks did not disclose the value of the deal, set to close in the third quarter.