Pakistani security forces have driven fighters from all the towns in the northern Swat valley, killing almost 300 followers of religious leader Maulana Fazlullah, the military said.
Tribal fighters loyal to Fazlullah had taken control of at least eight towns in the Swat valley since July.
Authorities accuse them of imposing a reign of terror, closing schools for girls and beheading locals who opposed them.
Some analysts had said that their seizure of the region had demonstrated the government's weak authority in
Hidden weapons
Fazlullah, the leader of a banned group who sent reinforcements for the Taliban when
After months of defiance, he took up arms in July, calling for war against the government.
Major General Nasser Janjua, during a tour of the area, told reporters on Saturday that since launching an offensive last month, his 20,000-strong force had managed to retake all the towns seized by the fighters, driving some 400 to 500 of them into the Piochar side valley.
At an army base in Mingora, the region's main town, Janura said: "We have bottled them upward and we want to take a good toll of them."
The rest of Fazlullah's force, initially estimated to be about 5,000 strong, apparently hid their weapons and melted back into the local population.
Complex seized
Earlier this week, Janjua said, the army launched a devastating attack that forced thousands of people to flee the area and allowed them to seize Fazlullah's sprawling Imam Dheri complex, which includes a seminary, hostels and a mosque near Mingora.
Security forces also blew up Fazlullah's home.
Janjua forecast that the fighters would try to mount at least one counter attack and said it would take at least three to four months to stabilise the area.
Officials say fighters linked to Pakistani sectarian groups as well as the Taliban and al-Qaeda had joined with Fazlullah.
Janjua said those killed or captured in recent weeks included some Uzbeks and citizens from "friendly" countries, but refused to elaborate.
In unrelated violence in southern
PHOTO CAPTION
Pakistani army soldiers patrol near a golf course in the town of