Tribal assurance

"Tribal elders assured the government that militants will lay down arms and live peacefully in Mamoun under the deal," Khan added.

"Foreign militants will not be harboured by anyone in Mamoun and rebels will not set up any training camps."

Mamoun is home to around a third of the 900,000 population of Bajaur, as well as several Pakistani Taliban commanders.

Support from local tribesmen was previously divided between those who supported local authorities and those who backed the fighters.

The military had said on February 28 that the Taliban had been defeated in Bajaur.

The semi-autonomous tribal areas in northwest Pakistan became a safe haven for hundreds of anti-government fighters who left Afghanistan when the US invaded the country to oust the Taliban in 2001.