Bank of America has named its new general counsel as it completes its purchase of Merrill Lynch.

The bank’s current president of global corporate and investment banking, Brian Moynihan, will become the new legal chief, replacing current general counsel Timothy Mayopoulos, who is to depart the bank.