David Walliams admitted in his diaries that he had always thought of himself as a "bad person", it has emerged. The Little Britain actor, 55, also discussed his friendship with convicted rapist Russell Brand in the book, published in 2012.
Writing in his memoir Camp David, which contained some diary excerpts from 1997, 2002 and 2003, Walliams said he initially hated Brand but the pair developed a friendship and became "very close" after working together on Cruise of the Gods.
Brand is now serving 10-and-a-half years in prison after being convicted of rape and three counts of sexual assault at Southwark Crown Court.
Sex addiction and therapy
In the book, Walliams told how he was left struggling with a sex addiction forcing him to seek therapy after a tough break up. In one entry, he said his then-girlfriend had dumped him after she had read about other encounters he had with women, including a one-night stand with an air stewardess in 1999.
He wrote: "My girlfriend split up with me over the phone a few days into the trip. Although we didn't live together, she had keys to my flat and had come in and read my diary from cover to cover. I had kept one since 1997.
"In the years before I had met her I had done some things I was ashamed of. The night with the BA air hostess was the first of numerous meaningless encounters.
"I thought sex could take away my sadness. However, it just made it worse. And I sank lower and lower into despair. I had become a sex addict. I started seeing a psychotherapist and kept the diary really as a record of this struggle with my shame."
Diary entries and personal anguish
Walliams went on to identify his psychotherapist and recount some of their sessions, which revealed his apparent anguish over the relationship breakdown and elements of his past conduct.
He wrote: "This girl had confirmed what I had always thought about myself: that I was a bad person." The book includes diary entries up to the end of 2003 and finishes saying "to be continued" with no indication he would abandon his diary writing.
Police investigation and allegations
Police confirmed last week they are currently probing the comedian and author after receiving a number of non-recent allegations against the former Britain's Got Talent judge.
It came just days after the publication of a three-year investigation by ITV News and the Guardian, which saw him accused of sexual misconduct and exploiting his position to groom teenagers as young as 15.
Walliams says he regrets behaving thoughtlessly in the past but has denied all allegations and maintains he is innocent of every claim levelled against him.
The Met is yet to confirm how many alleged offences have been reported or what Walliams has been accused of. Police have also not confirmed when or where the incidents are alleged to have taken place.
Walliams denies any wrongdoing but has yet to comment since the ITV news documentary aired on Tuesday.