(CNBC) -- CBS and Viacom have agreed to merge, ending years of on-and-off talks.
The new company will be called ViacomCBS, and Viacom’s CEO, Bob Bakish, will be the CEO of the combined company. Joe Ianiello, who was serving as CBS CEO since last year, will be the chairman of CBS and will be in charge of CBS assets after the merger.
Existing CBS shareholders will own about 61% of the combined company, with Viacom shareholders owning the remaining 39%. Each Viacom shareholder will receive .59625 shares of CBS shares. CBS shares rose 1.5%. Viacom shares rose 1.77%.