Pakistani troops have crushed militant networks in the restive tribal area of South Waziristan near the Afghanistan border, a senior officer says.
Pakistan says it has destroyed militant bases in South Waziristan
Regional commander Maj Gen Niaz Khattak said al-Qaeda fighters had either been killed, captured or driven north.
He said he had seen no trace of fugitive al-Qaeda leader Osama Bin Laden during the long operation.
Troops are now focusing on developing infrastructure as well as medical and educational facilities, he added.
Gen Khattak said his forces had killed 306 militants and arrested 700 others since the start of military operations in the area more than a year ago.
He said he believed between 500 and 600 fighters linked to al-Qaeda had been in the region last year.
"According to our intelligence reports, now we think there is absolutely none in South Waziristan," Gen Khattak told journalists.
He added that those killed included about 100 foreigners, and that about 250 Pakistani troops had died in the military campaign.
But even as Pakistani troops declared operations over in South Waziristan, they came under pressure from US commanders in Afghanistan to mount an assault to the north, where militants are believed to have fled.
Gen Khattak rejected the call, saying fighters were operating in small groups and that intelligence did not point to the need for an offensive.
The BBC's Paul Anderson in Islamabad says the Americans probably have bigger fish in mind - Bin Laden and his deputy Ayman al-Zawahri.
The Pakistanis insist that in 10 months there has been no trace of either man.
Our correspondent says that hopes are still alive that a senior al-Qaeda suspect arrested earlier this month, Abu Faraj al-Libbi, will yield details of Bin Laden's whereabouts.
So far the authorities are saying no clues have emerged.