WASHINGTON - US President Barack Obama said Wednesday that he was gravely concerned about the stability of the Pakistan government but that he was confident Pakistans nuclear arsenal would not fall into the hands of militants. Im confident that we can make sure that Pakistans nuclear arsenal is secure, Obama said at a prime-time news conference marking his first 100 days in office. Primarily, initially, because the Pakistani army, I think, recognizes the hazards of those weapons falling into the wrong hands. Weve got strong military-to-military consultation and cooperation, he said in response to a question. The question put to President Obama was: Pakistan appears to be at war with the Taliban inside their own country. Can you reassure the American people that, if necessary, America could secure Pakistans nuclear arsenal and keep it from getting into the Talibans hands or, worst case scenario, even al Qaedas hands? Obama called the government in Pakistan, where army forces are battling Taliban militants, very fragile. President Asif Ali Zardari is to visit Washington next week, and American officials have been pressing his government to be more aggressive in battling the insurgency. I am gravely concerned about the situation in Pakistan, not because I think that theyre immediately going to be overrun and the Taliban would take over in Pakistan, he said. Im more concerned that the civilian government there right now is very fragile and dont seem to have the capacity to deliver basic services: schools, health care, rule of law, a judicial system that works for the majority of the people. And so as a consequence, it is very difficult for them to gain the support and the loyalty of their people. So we need to help Pakistan, help Pakistanis. And I think that theres a recognition increasingly on the part of both the civilian government there and the army that that is their biggest weakness. On the military side, he said, youre starting to see some recognition just in the last few days that the obsession with India as the mortal threat to Pakistan has been misguided, and that their biggest threat right now comes internally. And youre starting to see the Pakistani military take much more seriously the armed threat from militant extremists. We want to continue to encourage Pakistan to move in that direction. And we will provide them all of the cooperation that we can. We want to respect their sovereignty, but we also recognize that we have huge strategic interests, huge national security interests in making sure that Pakistan is stable and that you dont end up having a nuclear-armed militant state. QUESTION: But in a worst-case scenario... OBAMA: Im not going to engage in - in hypotheticals of that sort. I feel confident that that nuclear arsenal will remain out of militant hands. AFP ADDS: President Barack Obama voiced worries Wednesday about the weakness of Pakistans government and did not rule out US intervention if the Islamic powers nuclear weapons fell into extremist hands. In a news conference, Obama said he was increasingly confident that Pakistan was serious about fighting militants and that its nuclear weapons were secure. But Obama said that the civilian government of President Asif Ali Zardari, who is due in Washington next week, was unable to provide basic services that would ensure peoples loyalty. Pressed on whether the United States would intervene if Pakistans nuclear arsenal were under threat, Obama said he would not respond to a hypothetical question. Pakistan, the Islamic worlds only declared nuclear weapons state, has been livid over US infringements on its sovereignty. Obama, who has put a new focus on rooting out extremism in Pakistan and Afghanistan in his first 100 days, has continued the previous George W Bush administrations controversial drone attacks inside Pakistan. The unmanned attacks are said to have killed high-level members of the Al-Qaeda network hidden in remote areas but they have inflamed public opinion by killing civilians.