The constituent assembly was dissolved on 24 August 1924, following the completion of its main mission, the negotiation and passing of the Anglo-Iraqi Treaty. Al-'Askari's cabinet resigned on the same day and Faisal appointed al-Hashimi as prime minister. Although Faisal's British advisors were wary of al-Hashimi and his loyalties, they acceded to Faisal's decision, which was partly motivated by a desire to keep an influential figure like al-Hashimi in Faisal's governing party instead of in the opposition. As prime minister, al-Hashimi appointed himself the defense minister and foreign affairs minister. Faisal, as commander-in-chief of the military, countered al-Hashimi's appointment to the defense ministry, by assigning loyalist Nuri as-Said as deputy commander of the military.