KABUL (AFP) Afghanistans Interior Minister and secret service chief resigned after security failings at a peace jirga in Kabul that came under Taliban attack, Afghan President Hamid Karzais office said Sunday. The resignations came after Karzai called in the pair to account for a rocket attack by suspected Taliban rebels on the landmark meeting in Kabul last week intended to set out a plan for ending the insurgency. Karzai accepted the resignation of the Minister of Interior Hanif Atmar and of the Chief of the National Directorate of Security Amrullah Saleh, his office said in a statement. The two had failed to provide convincing explanations, therefore their resignations were accepted by the president. Around 1,600 delegates representing a mix of tribal, ethnic, political, geographic, religious and gender interests, attended the jirga in a massive tent in Kabul. At least five rockets were fired in the direction of the German-built tent on Wednesday, two of them as Karzai was delivering a speech in which he urged delegates - and the uninvited Taliban - to work towards peace. The two officials were among the most respected members - at home and among Afghanistans Western allies - of Karzais US-backed government, which has been plagued by allegations of corruption. Secret service chief Saleh told a Press conference in his office he had resigned for moral reasons after Karzai rejected his explanations, adding that he also had dozens of other internal and external reasons to leave the key job. He said he had submitted his resignation during a meeting with the President earlier in the day, describing the conversation as tough. Atmar said he had failed to convince Karzai that security planning for last weeks conference was adequate. I knew that there would be two conditions: either we would convince him or we wouldnt. So I had my resignation letter ready in my pocket, which I submitted, Atmar said. Saleh, citing intelligence evidence, said last weeks attack was carried out by Haqqani network, a radical wing of the Taliban based in the Pakistani tribal area of North Waziristan. He said the facilitator of the raids had been captured trying to leave the country.