Pakistani and US diplomats on Thursday vowed to strengthen their troubled alliance two days after Washington acknowledged for the first time that it is waging “war” against militants in Pakistan.

US special envoy, Marc Grossman, on Thursday met Pakistani leaders in Islamabad as US drone strikes killed 10 militants, including a commander in the Haqqani network that the US military has linked to Pakistani intelligence.

“We also talked about how can we continue in a systematic way to identify the interests that we share with Pakistan, and there are many, and then find ways to act on them jointly,” he added.

Grossman said they had been preparing for conferences on the future of Afghanistan, in Istanbul next month and in the German city of Bonn in December.

US officials openly acknowledge that the relationship with Pakistan is complicated, but say it is important to persevere no less because Pakistan is a key stakeholder in any eventual political settlement in Afghanistan.

Khar said both sides would “build on this partnership which is not only important for the two countries but also for the region and the whole world”.

On Tuesday, acknowledging for the first time that the US is waging a war in Pakistan, Defense Secretary Leon Panetta described Washington’s relationship with Islamabad as “complicated”.

“And admittedly, there are a lot of reasons for that. We are fighting a war in their country,” Panetta said.

He said the two countries sharply disagreed over “relations they maintain with some of the militant groups in that country,” a reference to Washington’s demand that Islamabad crack down on the Haqqani network.

A covert CIA drone campaign that the US government declines to discuss publicly has seen around 30 missile attacks in Pakistan since American troops killed Osama bin Laden near the capital Islamabad on May 2.