The governor of Badghis province Husamuddin Shams told Reuters that the ceasefire was mediated by tribal elders, a move that comes after Taliban fighters secured complete control over all districts in the province.
"10 tribal elders had taken the responsibility of ceasefire, so they first talked to the Taliban, and then talked to the local government and both side reached a ceasefire," said Shams.
The Taliban reached an agreement with the tribal elders to move to the outskirts of Qala-e-Naw, the capital of Badghis.
Taliban spokesman denied they had agreed to a ceasefire but said they he left the main city of Badghis to avoid civilian casualties.