Kabul, Afghanistan (CNN) -- A man accused of having sex with a widow and impregnating her remained in Taliban detention Tuesday, his future unclear.
The 47-year-old woman, Sanam Gul, also known as Sanam Bibi, was killed in Badghis province in western Afghanistan Saturday morning, said Ashrafuddin Majidi, the provincial governor's spokesman.
A Taliban commander carried out the execution, shooting the woman in her head, said Hashim Habibi, the district governor of Qades, which is located in the province.
Gul had been widowed for four years. She was accused of adultery for her relationship with the unnamed man, said Abdul Jabar, the provincial police chief.
Local residents said the man had planned to marry Gul. Instead, the Taliban whipped him 200 times and detained him, Jabar said.
The International Security Assistance Force in Afghanistan condemned the killing.
"This tragic gruesome brutality is an example of Taliban justice," said U.S. Army Col. Rafael Torres, director of the ISAF Joint Command Combined Joint Operations Center.
"This is not what the people of Afghanistan want -- they want peace and freedom and that's what we're going to help provide."