Almost two years ago Pakistani troops launched a major operation against the Taliban in the Swat valley, taking in thousands of prisoners.
The military later set up a programme to try to reintegrate hundreds of the men back into society.
As Al Jazeera's Kamal Hyder reports from the Swat Valley, the programme is having some degree of success.