Former News of the World reporter Clive Goodman tells the hacking trial that some of his sources were members of the royal family.
Mr Goodman told the Old Bailey he had dozens of sources during his time as royal editor, some of whom he paid.
The 56-year-old, of Addlestone, Surrey, who denies conspiring to commit misconduct in public office, was questioned in the witness box for a second day.
Some were members of the royal family themselves – Clive Goodman
Asked by his lawyer David Spens QC about the nature of his contacts, Mr Goodman said: “Some worked for the royal family, some were friends of the royal family, indeed some were members of the royal family themselves.”
He said he created two false identities which he used to pay sources for tips, in particular someone he thought was a freelance journalist, and a newspaper executive.
He claimed neither had first-hand knowledge and he had to stand up the information himself.
Asked by Mr Spens if the system of using false names to arrange payments was known by the management at the NoW, Mr Goodman said: “Yes, it was.”
Asked how long it had been going on, he said: “It was there when I arrived in 1986 and went on through all the way until I left in 2006.”
Mr Goodman also told the court he did not know the true identities of the two sources he had named Mr Anderson and Mr Farrish.
He said he exaggerated the importance of his sources so his stories were more likely to get into the paper.
“Bylines are enormously important,” he said.
“Every few months or so there would be a byline count. If you were under-performing you would be taken in and told to buck your ideas up.”
Mr Goodman was read an email he sent to co-defendant Andy Coulson, then NoW editor, claiming he needed £1,000 to pay a Kensington Palace police officer for a “green book” – a royal phone directory.
In the email he said the book would be “extremely useful” and if the police officer was caught, he could “end up with criminal charges, as could we”.
Asked by Mr Spens if the source was in fact a police officer, Mr Goodman denied it, saying it was probably Mr Farrish.
Asked why he wrote the email, he said he was “having trouble getting signatures” for payments from managing editor Stuart Kuttner so he wanted to make the source sound important.
Earlier, the trial was told by judge Mr Justice Saunders that one juror had been excused from the trial due to ill health.
He told the remaining 11 jurors it was “absolutely vital we do not lose any more jurors”.
All seven defendants in the case deny the charges against them.