A settlement ending the bitter battle over media mogul Sumner Redstone's mental competency and the future of Viacom Inc. received the blessing of a Massachusetts judge on Friday — but only after an intervention to mend a rift within the famously fractious Redstone family.

Keryn Redstone's Los Angeles lawyer, Pierce O'Donnell, had argued that tensions within the Redstone family had already put Keryn Redstone at a disadvantage.