WarnerMedia’s general counsel and several other top brass, including the CEO, have split with the media and entertainment giant on the eve of its $43 billion merger with Discovery Inc.

A WarnerMedia spokesperson confirmed Thursday that general counsel and executive VP Jim Meza is among nine executives who “will depart the company.” Meza joined New York-based WarnerMedia in 2000 and oversaw all of its legal matters.