The Murdochs freed themselves of scandal just in time for a long-desired $15 billion takeover