The American soldier accused of killing 16 civilians in Afghanistan on Sunday has been flown out of the country.
Officials say legal proceedings against the unnamed staff sergeant will now be conducted in another country.
It is not clear where he has been taken.
Members of the Afghan parliament had demanded that he should be put on trial in their country.
The victims were shot in their homes, causing outrage across Afghanistan.
The transfer coincides with a visit by US defence secretary Leon Panetta.
The defence secretary was in Helmand to address US troops, as fears mount that they could be the target of a backlash against foreign forces.
He has since left the province for the capital, Kabul.