Taliban spokesman Zabihullah Mujahid said in an email to media members that the group's fighters are retreating to avoid further civilian casualties.
Hamdullah Danishi, the acting governor of Kunduz province, said shops and markets in the city had reopened and residents were venturing out of their homes. He said troops were continuing to search the city, suspecting that some insurgents had remained behind.
"Afghan security forces are in control of the whole city," said Gen. Mohammad Qasim Jungulbagh, provincial police chief of Kunduz.
After two weeks of fighting, local people are venturing out and shops are open again, said Sultan Mohammad, 32, a Kunduz resident. He said electricity was being restored but problems with the water supply remained.
The Taliban stormed Kunduz on September 28 and held the city for three days before being driven back. Exact numbers of dead and wounded are unclear, but believed to be in the hundreds. The Public Health Ministry has said that more than 60 civilians have been killed, and around 800 wounded in the fighting.
The statement said the operation, which began October 7, was the result of months of intelligence and planning. The US conducted 63 airstrikes while Afghan forces engaged in several ground battles al-Qaeda fighters at two related sites, it said.
"This is one of the largest joint ground-assault operations we have ever conducted in Afghanistan," Brig. Gen. Wilson Shoffner, a US spokesperson in Afghanistan, said in the statement.
