WASHINGTON - Pakistan has not abdicated responsibility or ceded territory to the Taliban as claimed by Secretary of State Hillary Clinton, Ambassador Husain Haqqani said Wednesday. "The agreement in Swat was an attempt to create a local solution, but if it doesn't yield the desired results, then the Pakistan military remains able and available to restore the writ of the state," he told McClatchy group of newspapers. Earlier, Mrs. Clinton told the House Foreign Affairs Committee, "The Pakistani government is basically abdicating to the Taliban and to the extremists," and that the situation in Pakistan "poses a mortal threat to the security and safety of our country and the world." Appearing on CNN, Haqqani said, "Pakistan faces a serious challenge from the Taliban, and we are very cognizant of it. That doesn't mean that Pakistan is in any imminent danger of collapse." Its not do or die, Haqqani said. We do not have a situation in which the government or the country of Pakistan is about to fall to the Taliban. He said, "Yes, we have a challenge. But, no, we do not have a situation in which the government or the country of Pakistan is about to fall to the Taliban." Taliban militants moved into the Swat Valley as part of a controversial peace deal with the government that has come under fire from U.S. observers. But Haqqani compared it to the deals U.S. commanders in Iraq made to peel insurgents away from Islamic jihadists blamed for the worst attacks on civilians there. "We are open to criticism of that strategy, but to think that that strategy somehow represents an abdication of our responsibility towards our people and towards the security of our country and the region is incorrect," he said. The envoy cited Pakistans strength in its central government and its powerful military force, both of which contrastingly Afghanistan lacked in severely. Besides, Afghanistan was also going through civil strife at that time, he said, adding that the woeful combination of problems allowed Taliban to wrest control of Kabul. In the case of Pakistan, Pakistan has a legitimate elected government. Pakistan has a military and a police force. Yes, we have capacity issues. Our military needs equipment and training to be able to pursue counterinsurgency operations. But the United States and Pakistan are partners, and in that partnership, I think, together, we can deal with the Taliban, he told CNN's Wlof Blitzer, who anchors a news programme "The Situation Room". Haqqani spoke shortly after Mrs. Clinton spoke of what she called calls was a dire situation in Pakistan. First of all, what she's saying is essentially that the threat of terrorism is in existential threat to Pakistan, and that is something that the government of Pakistan and the people of Pakistan generally agree with. The only question is, is just the recent development in Swat an existential threat to the government of Pakistan? And my answer to that is that is not. He also pointed out factual errors in the way the story was revealed in the US media Wednesday that the Taliban were closing in on the Pakistani capital. For example, yes, Swat is 60 miles from the capital, but it's not 60 miles on the highway. It's 60 miles as the crow flies. So there are mountains that have to be taken over. It's not like Islamabad. I don't think that is a correct assessment. The fact of the matter is that Swat is an isolated valley surrounded by mountains, he said.