Taliban militants released the last of 21 South Korean hostages in central Afghanistan on Thursday, bringing to an end a six-week drama that saw two captives executed, witnesses said. Seven hostages were handed over in two groups to officials from the International Committee of the Red Cross on a road in Ghazni province on Thursday, an Associated Press reporter at the scene said. The final three, two women and one man were covered in dust as they emerged from the desert, accompanied by three armed men, and were turned over to waiting ICRC officials. None of the released hostages made any comment. The Taliban originally kidnapped 23 South Koreans as they traveled by bus from Kabul to the former Taliban stronghold of Kandahar on July 19. In late July, the militants killed two male hostages, and they released two women earlier this month as gesture of goodwill. On Wednesday, the Taliban released 12 hostages, after striking a deal with South Korea in which Seoul reaffirmed a pledge it made before the hostage crisis to withdraw its troops from Afghanistan by the end of this year. Seoul also said it would prevent South Korean Christian missionaries from working in the staunchly Muslim country, something it had already promised to do. The Taliban apparently backed down on earlier demands for a prisoner exchange. Still, the militant group could emerge with enhanced political legitimacy for negotiating successfully with a foreign government. South Korea and the Taliban have said no money changed hands as part of the deal. An Indonesian government official who took part in the negotiations Tuesday between three South Korean officials and two Taliban commanders where the deal was struck also said money was not brought up. "From what I saw and from what I heard in the talks, it was not an issue," Heru Wicaksono told The Associated Press. Wicaksono, a high-ranking official at the Indonesian Embassy in Kabul, said the Taliban were motivated by "humanitarian feelings" to free the captives. The Afghan government was not party to the negotiations, which took place in Ghazni and were facilitated by the ICRC. Wicaksono was an observer at the talks, chosen by both sides because Indonesia is a large Muslim country. South Korea's government, which has been under intense domestic pressure to bring the hostages home safely, said it had tried to adhere to international principles while putting priority on saving the captives. But Afghan Commerce Minister Amin Farhang criticized the deal. "One has to say that this release under these conditions will make our difficulties in Afghanistan even bigger," he told Germany's Bayerischer Rundfunk radio. "We fear that this decision could become a precedent. The Taliban will continue trying to take hostages to attain their aims in Afghanistan." A German engineer and four Afghan colleagues kidnapped a day before the South Koreans are still being held. Afghanistan has seen a rash of kidnappings of foreigners over the last year. The Italian and Afghan governments were heavily criticized in March for agreeing to free five Taliban prisoners to win the release of an Italian journalist. The head of the Italian aid agency Emergency also has said Rome also paid a US$2 million ransom last year for a kidnapped Italian photographer - a claim Italian officials did not deny.