Last weekend marked not only the end of Leslie Moonves’ illustrious career as the top executive at CBS Corp., but it also brought about a detente in a longstanding corporate power struggle.

For the past several months, Shari Redstone, president of CBS’s controlling shareholder National Amusements Inc., has fought for control of CBS. The battle included a lawsuit against Redstone filed by the New York-based media giant, vehement disagreement over the company’s future and #MeToo allegations against Moonves.