The size of the funeral indicated significant support in this region for fighters battling the American presence just across the border in Afghanistan. The Pashtun ethnic group that accounts for most of the resistance in Afghanistan straddles the frontier.

The missile attack in North Waziristan killed three people, with the main target being Janbaz Zadran, a top commander of the Haqqani network, which US intelligence believes is the No. 1 threat in Afghanistan and enjoys the support of the Pakistani Army.

The two other victims were buried Friday in Lakki Marwat, a Pashtun town close to North Waziristan.

An Associated Press reporter attended the funeral of one of them, Maulana Iftikhar. He was the head of an Islamic school in the North Waziristan town of Miran Shah, and hailed from Lakki Marwat. Locals said he was involved in “jihad” in Afghanistan.

“Maulana Iftikhar is a martyr and we warn America to immediately stop these drone attacks,” said Ahmed Jan Qureshi, a local leader of the Jamiat Ulema Islam political party. “America should realize that these attacks are causing hate against it, and see these thousands of people who are here to attend funeral of a martyr.”

Scores of armed men and some Arabs lined up to perform prayers. Also present was Munawar Khan, the town’s local lawmaker and a member of the opposition party of former Prime Minister Nawaz Sharif. He declined to speak to the AP.

The missile strike took place close to Miran Shah, the base of the Haqqani network and other militant groups fighting both the Pakistan state and in Afghanistan. There have been at least 50 such strikes this year, most of them in North Waziristan.

Pakistani intelligence officials said the senior Haqqani commander was also known as Jalil Haqqani.

US officials said later he was called Janbaz Zadran, and was the most senior Haqqani leader in Pakistan to be taken off the battlefield. The officials said Zadran helped the Haqqani network orchestrate attacks on troops in Kabul and southeastern Afghanistan.

US intelligence considers the Haqqani network the No. 1 threat in Afghanistan, and says that it is supported by Pakistani security forces. Pakistan’s refusal to sever those links and attack the group is a main source of tension between the two nominally allied countries.

Since 2008, the United States has regularly unleashed unmanned drone-fired missiles against militants in the border region.

Meanwhile, a US drone strike killed four more militants in northwestern Pakistan on Friday, the third such attack in 48 hours against Taleban hotbeds in Waziristan near the Afghan border, officials said.

The drone fired two missiles into a vehicle as it drove through Darpa Khel village about four kilometers west of Miranshah, the Pakistani  officials said.

"The US drone fired two missiles," one of the officials said.

"Four militants were killed in the attack, they were all in the vehicle," he added. The identities of the dead were not clear, but the village is a stronghold for militants fighting against US troops in Afghanistan.