The Duke of Sussex has accepted damages and an apology from a news agency which used a helicopter to take photographs of his home in the Cotswolds.
Prince Harry’s lawyers told a High Court hearing the pictures taken by Splash News and Picture Agency included one of the inside of a bedroom at the Oxfordshire property.
The court heard the pictures had “seriously undermined” Harry’s safety.
Splash said it had made an “error of judgement” which would not be repeated.
In a statement, it added: “We apologise to the Duke and Duchess for the distress we have caused.”
Buckingham Palace said the duke “acknowledges and welcomes the formal apology” from Splash.
The court heard the photos, which were “published by the Times newspaper and elsewhere online”, were of living and dining areas, and included a shot taken “directly into the bedroom”.
The duke’s lawyers told Mr Justice Warby that Harry and his wife Meghan had chosen to make the Oxfordshire property their home because of its “high level of privacy”.
But Gerrard Tyrrell, who read a statement in court on Harry’s behalf, said the couple had subsequently felt unable to live there.