Former News of the World royal editor, Clive Goodman, has told the Old Bailey he was "pretty cross" with Andy Coulson, News International and the News of the World but that faded by the time he got out of prison.
Explaining his feelings now, he said: "Purely in the interest of self-defence, I have had to say things which cause me some pain, really, to be honest. There it is, I have no choice.
Goodman, 56, of Addlestone, Surrey, denies conspiracy to commit misconduct in public office.
Coulson, 46, of Charing, Kent, denies conspiring to hack phones and commit misconduct in a public office.
All the other defendants in the case deny the allegations against them.
The trial was adjourned until tomorrow.
More top news
The Russian government has launched a campaign urging people to take safer selfies after after high-risk poses resulted in dozens of deaths.
Actor Harry Shearer who is the voice of Mr Burns, Ned Flanders and Principal Skinner has re-signed for a 27th season of The Simpsons.
The 25-year-old Swede has made a fortune posting videos of himself playing computer games online.