initially appointed as vice chief of army staff (vcoas) under then-president pervez musharraf on 8 october 2007, he formally took over the command of the army when president pervez musharraf retired from his military service on 29 november 2007. in addition, general kayani served as the director-general of the inter-services intelligence ("isi") and as director of the directorate-general of military operations (dgmo), overseeing major war efforts in the war on terror. on 24 july 2010, kayani's commission was renewed for three more years by prime minister yousaf raza gillani to continue the war efforts against the insurgent outfits.