A British millionaire accused of murdering his wife on their honeymoon in South Africa has told a judge he is bisexual.
Shrien Dewani, 34, denies orchestrating his wife's death by hiring three men to kill the 28-year-old as they drove through Cape Town's Gugulethu Township on 13 November, 2010.
Appearing at Western Cape High Court in Cape Town, the care home owner denied charges of murder, conspiracy to commit kidnapping, robbery with aggravating circumstances, kidnapping and defeating the ends of justice.
He told judge Jeanette Traverso: "I plead not guilty to all five counts, my lady."
Through a witness statement read to the court by his solicitor Francois van Zyl, he also told the court he was bisexual.
In it, he said: "My sexual interactions with males were mostly physical experiences or email chats with people I met online or in clubs, including prostitutes."
Footage of the crime scene, including Anni's body inside the taxi, were also shown to the court.
The court heard Dewani had abnormally low levels of hormones and that he and his wife were unlikely to have children. He said he had discussed this with Anni, whom he began dating in summer 2009.
Their relationship broke down, but they got back together in March 2010 and married later that year in Mumbai.
Dewani said the carjacking in Cape Town was a "traumatic experience which resulted in the loss of my wife".
He added he has suffered "flashbacks, nightmares and anxiety attacks" since, which has affected his ability to remember clearly.
Mr van Zyl said his client remembered banging noises coming from the front of the car during the carjacking.
Dewani added: "The next thing I recall is somebody next to me, who told me to lie down. The person had a gun in his hand. He was waving the gun in the air."
Anni Dewani's family, including her father Vinod Hindocha and mother Nilam, were among those in a packed courtroom on Monday.
Prosecutors claim Dewani conspired with Zola Tongo, Mziwamadoda Qwabe and Xolile Mngeni to kill his wife. All three are already serving jail terms in connection with Anni's murder.
He claims he and his wife were kidnapped at gunpoint as they drove through the township.
The court heard Anni Dewani was screaming inside the taxi and he was ordered to keep her quiet as they were driven by another driver. Dewani said he was ordered to get out of the car with a gun to his head and he had to climb out of a window because the door would not open.
He added: "The last thing I had said to Anni was to be quiet and not to say anything."
Dewani was released unharmed, but his wife's body was found in the abandoned taxi the following day with gunshot wounds to the hand and neck.
Before the trial, he was detained in a hospital in Britain with depression and post-traumatic stress disorder and has spent the last three years fighting extradition to South Africa.
It is unclear if Dewani will give evidence in his defence. The case is due to run until December.
The trial continues.