Image caption A photo showing Sgt Robert Bales was removed from a military website when his name was released

The US soldier accused of killing 16 Afghan civilians in a massacre that has undermined relations with Kabul has been named as Staff Sgt Robert Bales.

Senior US officials told the BBC the name of the suspect as he was heading back to the US to face charges.

He has now arrived at a military detention centre in Fort Leavenworth, Kansas, after being flown from Kuwait, the US Army said.

He will be held in solitary confinement pending charges, the Army added.

Sgt Bales' lawyer, John Henry Browne, said he had been injured twice while serving in Iraq.

Mr Browne also said the accused, aged 38, had witnessed his friend's leg blown off the day before the killings.

That incident has not been confirmed by the US Army.

The Taliban called off peace talks in the wake of Sunday's deadly rampage - in which men, women and children were shot and killed at close range.

The US has stressed it remained committed to Afghan reconciliation.

Staff Sgt Robert Bales Aged 38

Two children

Enlisted in 2001

Three previous tours to Iraq

Injured twice

Afghan President Hamid Karzai has also reacted angrily to the killings. He told the US it must pull back its troops from village areas and allow Afghan security forces to take the lead in an effort to reduce civilian deaths.

On Friday he said the US was not fully co-operating with a probe into the killings.

He also said the problem of civilian casualties at the hands of Nato forces had "gone on for too long".

"This form of activity, this behaviour cannot be tolerated. It's past, past, past the time," Mr Karzai told the BBC's Lyse Doucet at the presidential palace in Kabul.

'Decorated soldier'

Shortly after Sgt Bales' name emerged, Mr Browne confirmed that was the name of the soldier he was representing.

Image caption A white van believed to be carrying Sgt Bales left Kansas City International Airport

Images quickly emerged online from a Department of Defense website thought to show him and identify him in the same unit as previously revealed by military officials, part of 3rd Stryker 2nd Infantry, though the images were quickly removed.

Sgt Bales has not yet been charged, but is the only known suspect in the killings - despite repeated Afghan assertions that more than one American was involved.

The Pentagon has previously said that he could face charges that carry a possible death penalty.

Previous tension points February 2012: Violent protests erupt after US troops inadvertently burn copies of the Koran at Bagram air base in Kabul. At least 30 are killed

Violent protests erupt after US troops inadvertently burn copies of the Koran at Bagram air base in Kabul. At least 30 are killed January 2012: US and UN officials describe a video clip of US marines urinating on dead Afghans as "disgusting" and "inhuman"

US and UN officials describe a video clip of US marines urinating on dead Afghans as "disgusting" and "inhuman" April 2011: US President Barack Obama describes March 2011 Koran burning by a radical US pastor as "intolerance and bigotry". The incident triggered protests which left at least 24 people dead in Afghanistan

US President Barack Obama describes March 2011 Koran burning by a radical US pastor as "intolerance and bigotry". The incident triggered protests which left at least 24 people dead in Afghanistan April 2008:Dutch and Danish governments evacuate their embassies in Kabul after protests against cartoon of the Prophet Muhammad which was reprinted by Danish newspapers In pictures: Kandahar shootings

Such a trial could take years, contrasting with Afghan demands for swift and decisive justice.

In the town of Lake Tapps, Washington state, neighbours described their surprise at Sgt Bales' alleged crimes.

Next-door neighbour Kasie Holland, whose children regularly played with Sgt Bales' family, told the Associated Press: "My reaction is that I'm shocked.

"I can't believe it was him. There were no signs. It's really sad. I don't want to believe that he did it."

Speaking in Seattle on Thursday, where Sgt Bales is based at Joint Base Lewis-McChord, John Henry Browne said his new client was a "mild-mannered" man who bore no antipathy towards Muslims.

He described him as "a decorated soldier" who had an exemplary record before the shooting.

The lawyer also suggested the soldier, who began his first deployment to Afghanistan in December, was not fit to serve because of injuries he had suffered on previous tours of duty.

Mr Browne said that a car accident caused by a roadside bomb in Iraq had given the soldier a concussive head injury. Part of his foot had also been removed in surgery because of a battle-related wound, he added.

"I think it's of interest that we have a soldier who has an exemplary record, a decorated soldier who was injured in Iraq, to his brain and to his body and then despite that was sent back," he said.

Mr Browne, who has represented a number of high-profile clients including serial killer Ted Bundy and a teenage thief known as the Barefoot Bandit, said his client was a happily married man with two children, aged three and four.