The prince also received a "substantial" settlement, ending a six-year battle with Rupert Murdoch newspapers.