A phone message from Prince William to Kate Middleton was intercepted by a private investigator working for the News of the World, the hacking trial was told today.
The message recorded by Glenn Mulcaire was of William arranging to leave Sandhurst to meet his then girlfriend, the Old Bailey heard.
It was found on a micro-cassette in former royal editor Clive Goodman's flat.
Goodman, 56, was asked about the recording during his third day in the witness box.
His lawyer, David Spens QC, read out part of a police transcript on the tape dated February 23 2006.
The judge, Mr Justice Saunders, asked him to only read the relevant parts and not the whole message.
In it, William says: "Hopefully I should be able to leave by seven at the latest."
Later in the message he repeats: "Planning on definitely coming out by sevenish so I will be with you by eight at the latest."
Mr Spens asked Goodman: "How did this voice message from Prince William to Kate Middleton come to be on a micro-cassette?"
Goodman replied: "This was originally recorded by Glenn Mulcaire."
Goodman admitted phone hacking and was sentenced in 2007. He denies conspiring to commit misconduct in a public office.
Goodman told the court that he made a personal deal with Mulcaire to pay him £500 a week to get information for hacking the phones of people close to princes William and Harry, separate from the newspaper's contract.
He gave the private investigator the names of the princes' personal assistant, private secretary and also the Prince of Wales's head of press.
Mr Spens said: "Was there any advantage to you in giving him the names of these three people?"
He replied: "I would be able to access information about meetings, events, events happening in the lives of the Prince of Wales's sons, who were then up and coming and making their way in the world."
Goodman named another senior journalist at the NotW who believed he had an "exclusive" deal with Mulcaire.
Goodman told the court he kept his own arrangement secret from his colleague, who cannot be named for legal reasons.
His own project with Mulcaire was only due to last a couple of months from October 2005 but went on ad hoc until the time of their arrests in August 2006, he said.
He went on to claim phone hacking was going on at the NotW "on a pretty industrial scale".
He said: "It got to the level when (the senior journalist) was hacking the editor Andy Coulson's phone."
Asked for what purpose, he said it was to find out what other stories were in the pipeline in the competitive newsroom.
He was also hacking Rebekah Brooks' phone while she was editor on the Sun "for the same reason - to find out what the Sun was up to", Goodman said.
Goodman gave some examples of stories he got - one about Prince William getting drunk at his brother's passing out parade, and another about Prince Harry asking his private secretary for help with his homework at Sandhurst.
Asked if he ever told the senior journalist where he got hacking stories from, he said: "He may well have suspected but we never had a conversation like that.
"The problem was Glenn Mulcaire was supposed to be working exclusively for (senior journalist). It would have caused conflict."
He also denied telling co-defendant Coulson that he had got a story from hacking.
All the defendants in the case deny the charges against them.