Harry and Meghan were forced to leave their home after the photos were published in outlets including The Times newspaper, a royal source familiar with the case has told CNN.
“The syndication and publication of the photographs very seriously undermined the safety and security of The Duke and the home to the extent that they are no longer able to live at the property,” the palace said in a statement.
“The Duke of Sussex acknowledges and welcomes the formal apology from Splash News and Picture Agency.”
Harry and Meghan’s official residence is Frogmore Cottage in Windsor, near London.
In 2016, Kensington Palace released a rare statement on Harry’s behalf criticizing media coverage of the couple and noting that “his girlfriend Meghan Markle has been subject to a wave of abuse and harassment.”
In a statement sent to Britain’s Press Association news agency, Splash said it has “always recognised that this situation represents an error of judgement and we have taken steps to ensure it will not be repeated. We apologise to the Duke and Duchess for the distress we have caused.”
CNN has contacted Splash for comment.