Image caption Papers in the case were first served on the government in 2009

The British government accepts that colonial forces in Kenya tortured and abused detainees during the Mau Mau rebellion, the High Court has heard.

Three elderly Kenyans who are suing the government for damages were told it did not dispute that "terrible things" had happened to them.

Their lawyers say it is the first ever official acknowledgement by the UK.

The revolt against British rule in Kenya in the 1950s and 1960s was marked by atrocities, with thousands killed.

The British government argues that too much time has passed for a fair hearing to be conducted.

Before starting cross-examination of witnesses, the QC for the British government, Guy Mansfield, said he did not want to dispute that civilians had suffered "torture and ill-treatment at the hands of the colonial administration".

He spoke directly to each of the witnesses, saying he did "not want to dispute the fact that terrible things happened to you".

Background The Mau Mau, a guerrilla group, began a violent campaign against white settlers in 1952

The uprising was put down by the British colonial government by 1960

The Kenya Human Rights Commission says 90,000 Kenyans were executed, tortured or maimed

It says 160,000 people were detained in appalling conditions

Kenya gained independence in 1963 Bloody uprising of the Mau Maus

Papers in the test case were first served on the UK in 2009.

In 2011, a High Court judge ruled the claimants - Paulo Muoka Nzili, Wambuga Wa Nyingi and Jane Muthoni Mara - did have an arguable case.

The claimants' lawyers allege that Mr Nzili was castrated, Mr Nyingi was severely beaten and Mrs Mara was subjected to appalling sexual abuse in detention camps during the rebellion.

A fourth claimant, Ndiku Mutwiwa Mutua, has died since the High Court ruling that the test case could go ahead.

With the help of interpreters at the High Court, the three - now in their 70s and 80s - were briefly questioned about written evidence they had provided.

In the years before independence, people were beaten, their land was stolen, women were raped, men were castrated and their children were killed Wambugu Wa Nyingi, Kenyan Mau Mau claimant

In a 20-page statement, Mr Nzili, 85, gave details of being stripped, chained and castrated, with large pliers normally used on cows, at Embakasi detention camp, near Nairobi.

He said: "I felt completely destroyed and without hope. I have never had children of my own and never will have. I am unable to have sexual relations with my wife."

Mrs Mara, 73, submitted evidence describing how, at the age of 15, she was taken to Gatithi detention camp, where she was beaten by the British and subjected to sexual abuse with a glass bottle containing very hot water.

She said she had felt "completely and utterly violated", adding that the pain "has been bad ever since the beatings and has worsened as I have aged".

"I do not understand why I was treated with such brutality for simply having provided food to the Mau Mau.

'Beaten unconscious'

"I want the British citizens of today to know what their forefathers did to me and to so many others. These crimes cannot go unpunished and forgotten."

In his statement, Mr Nyingi, 84 - a father of 16 who still works as a casual labourer - described being arrested on Christmas Eve 1952 and held for nine years.

During his detention, in 1959, he said he was beaten unconscious during an incident at Hola camp in which 11 other prisoners were clubbed to death.

Image caption Mau Mau suspects were rounded up in camps where they were allegedly tortured

"If I could speak to the Queen I would say that Britain did many good things in Kenya, but that they also did many bad things," he said.

"In the years before independence, people were beaten, their land was stolen, women were raped, men were castrated and their children were killed.

"I would like the wrongs which were done to me and other Kenyans to be recognised by the British government so that I can die in peace."

The three Kenyans want an official apology and damages to set up a Mau Mau welfare fund for the hundreds of Kenyans their lawyers say also suffered.

In his ruling in 2011, Mr Justice McCombe emphasised he had not found there was systematic torture in the Kenyan camps nor that, if there was, the British government was liable for what had passed.

It will now be decided whether a fair hearing is still possible.

The hearing will have access to an archive of 8,000 secret files that were sent back to Britain after Kenya gained its independence in 1963.